User Guide
182
Special considerations
Strings used within an output template tag attribute use the C-language convention (\)
for escaping special characters. For example, the following attribute uses a newline
character to split the value into two lines:
CAPTION="This is line one\nThis is line two"
Other special characters of note include carriage-return (\r), tab (\t), and slash (\\). For
example, the following attribute references a template in a directory two levels above
the current directory:
TEMPLATE="..\\..\\Header.wml"
WIZML reference
Following is the complete Wizard Markup Language syntax.
WIZSET
WIZSET works the same way as the ColdFusion CFSET tag.
For example:
<WIZSET Color = 'Red'>
<WIZSET Pi = 7/22>
<WIZSET ShortName = Left( LongName, 5 )>
The following table describes the WIZINCLUDE tag.
WIZLOOP, WIZBREAK, and WIZCONTINUE
The WIZLOOP tag supports several types of loops including:
• Index-based (using the INDEX, FROM, TO, and STEP attributes)
• Condition-based (using the CONDITION attribute)
• List-based (using the INDEX and LIST attributes)
• TStringList-based (using the INDEX and STRINGLIST attributes)
The following table describes the WIZLOOP tag.
Attribute Description
TEMPLATE Required. The relative path of a template that is to be included in the
currently executing template.
WIZLOOP Tag Attributes
Attribute Description
INDEX Name of a variable for a loop to set on each iteration (required for index
and list-based loops). It serves as a counter.
FROM Index to start looping from.
TO Index to loop to.