XML Script logo
The _break command inside a _while loop
Code
<_data ><Tree type="ash" />
<Tree type="ash" />
<Tree type="ash" />
<Tree type="ash" />
</_data>
# \.type := 1 #
<_while test="\.type" >
<_break />
<_foreach element="Tree" >
ash</_foreach></_while>
Output

ash
ash
ash
ash
Ref

x.7303

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