All templates share the same primary schema. In addition, there are several other namespaces that are commonly used in templates.
The template schema describes the overall structure of page and cartridge templates. It is also used for primitive property types such as String and Boolean.
All templates must include the following schema declaration:
<ContentTemplate xmlns="http://endeca.com/schema/content-template/2008"
type="PageTemplate" >
The Xavia namespace is used for properties that are lists or items (collections of key-value pairs). Include the following namespace declaration in templates that use these properties:
<ContentTemplate xmlns="http://endeca.com/schema/content-template/2008"
xmlns:xavia="http://endeca.com/schema/xavia/2010"
type="PageTemplate" >
There is no formal schema for editor configuration, however, by
convention, they are associated with an
editors
namespace to distinguish these elements from
the template schema. Include the following namespace declaration in all
templates:
<ContentTemplate xmlns="http://endeca.com/schema/content-template/2008"
xmlns:xavia="http://endeca.com/schema/xavia/2010"
xmlns:editors="editors"
type="PageTemplate" >