Slick V3.3 Computer Accessories User Manual


 
Parameters
Parameters is a required child element of TemplateContent. Specifies custom substitution parameters
for the template item. For a list of pre-defined substitution parameters, see Predefined Substitution Para-
meters.
See the example below.
Attributes - None.
Child elements - Parameter.
Parent elements - TemplateContent.
Value - N/A.
Example
The following example illustrates the metadata for an item template for a custom Java class.
When MyClass.java is used to create the file from the template, all occurrences of $copyright$ in the
created file will be replaced with "(c)2005-2006".
<?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>
<TemplateContent>
<Parameters>
<Parameter Name="copyright" Value="(c)2005-2006" />
<Parameters>
<Files>
<File>MyClass.java</File>
</Files>
</TemplateContent>
</SETemplate>
SETemplate
Root element. Contains all metadata about template item.
Attributes:
Code Template Metadata File
Reference
122