beautypg.com

Parameters, Setemplate – Slick EDIT V3.3 User Manual

Page 144

background image

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".

"http://www.slickedit.com/dtd/vse/setemplate/1.0/setemplate.dtd">

My Java Class

My custom Java class

MyClass.java

MyClass.java

SETemplate

Root element. Contains all metadata about template item.

Attributes:

Code Template Metadata File

Reference

122