<!ELEMENT extension (templates*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT templates ((vendorDirectory | templateFile)*)>
<!ATTLIST templates
baseDir CDATA #REQUIRED>
This element defines a set of SQL templates. The templates are organised in a base directory (baseDir) containing a set of subdirectories coresponding to the vendors (vendorDir), containing itslef a set of template files (templateFile) for various objects. The vendorDirectory and templateFile elements allows defining the name for the vendor directories and template file names, so that it is not necessary to define an element for each (vendor/template) pair. If a template is not applicable for a vendor, the file can simply be ommited.
<!ELEMENT vendorDirectory EMPTY>
<!ATTLIST vendorDirectory
vendorId CDATA #REQUIRED
vendorDir CDATA #REQUIRED>
Defines the directory containing the templates for a given vendor. It is possible to create various elements pointing to the same directory, for example of several products share their templates.
<!ELEMENT templateFile EMPTY>
<!ATTLIST templateFile
objectClass CDATA #REQUIRED
templateFile CDATA #REQUIRED
title CDATA #IMPLIED>
Defines the template file names contained in the vendor directories.