Example
The following example illustrates the metadata for an item template for a custom Java class.
<?xml version="1.0" ?>
<!DOCTYPE SETemplate SYSTEM
"http://www.slickedit.com/dtd/vse/setemplate/1.0/setemplate.dtd">
<SETemplate Version="1.0" Type="Item">
<TemplateDetails>
<Name>My Java Class</Name>
<Description>My custom Java class</Description>
<DefaultName>MyClass.java</DefaultName>
<SortOrder>100</SortOrder>
</TemplateDetails>
<TemplateContent>
<Files>
<File>MyClass.java</File>
</Files>
</TemplateContent>
</SETemplate>
TemplateContent
TemplateContent is a required child element of SETemplate. Specifies the contents of a template item.
• Attributes - Optional. Delimiter used when replacing substitution parameters in content. Defaults to $.
• Child elements - Files, Parameters.
• Parent elements - SETemplate.
• Value - N/A.
Example
The following example illustrates the metadata for an item template for a custom Java class.
<?xml version="1.0" ?>
<!DOCTYPE SETemplate SYSTEM
"http://www.slickedit.com/dtd/vse/setemplate/1.0/setemplate.dtd">
<SETemplate Version="1.0" Type="Item">
<TemplateDetails>
<Name>My Java Class</Name>
<Description>My custom Java class</Description>
<DefaultName>MyClass.java</DefaultName>
</TemplateDetails>
Code Template Metadata File
Reference
124