XML Script logo
Only textual content is used for implied elements
Code
<_if test="1" >output 1<my_element >output 2</my_element></_if>
<_if test="1" ><then >output 1<my_element >output 2</my_element></then></_if>
<_if test="0" then="my then" >output 1<my_element >output 2</my_element></_if>
<_if test="0" then="my then" ><else >output 1<my_element >output 2</my_element></else></_if>
Output
output 1
output 1<my_element >output 2</my_element>
output 1
output 1<my_element >output 2</my_element>
Ref

x.1808

XML Script homepage | Documentation home | XML Script docs | Command list | Function list | X-Tract docs

X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited
© Copyright 1998-2000 DecisionSoft Limited