Release 1.0 - ...
<schemaSettings> element
The schemaSettings element defines the XML schemas used for schema validation and Intellisense. A schema is uniquely identified by an id.
A default Smartsite installation comes with the following 13 built-in schemas:
- any
- sxml
- sxml+any
- sxml+xhtml11
- sxml+xhtml1-frameset
- sxml+xhtml1-strict
- sxml+xhtml1-trans
- sxml+xhtml-basic10
- xhtml11
- xhtml1-frameset
- xhtml1-strict
- xhtml1-trans
- xhtml-basic10
The schemaSettings element allows for adding custom schemas. A custom schema may be located on the file system (relative to the site root) or in the CMS. The physical schema location is set using the location attribute. When a CMS item is specified, a CMS field must be specified in order to be able to locate the actual contents of a schema.
Schema configuration rules
- When no or an empty schema section is specified, only the built-in schemas are available.
- XML attributes location and field specify a CMS item field or file. Both attributes are optional for built-in schemas
- The <clear/> removes all schemas (including the built-in)
- Use <remove id=""/> to remove a specific schema