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

x.1806

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