XML Script logo
Using the _if element with mixed syntax
Code
<_if test="1" then="true 1" ><else >***ERROR***</else></_if>
<_if else="***ERROR***" test="1" ><then >true 2</then></_if>
<_if test="0" then="OK" ><else >false 3</else></_if>
<_if else="false 4" test="0" ><then >***ERROR***</then></_if>
Output
true 1
true 2
false 3
false 4
Ref

x.1805

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