XML Script logo
Command _while
Attribute

test, a string

[required] a boolean test string.

Description

If the content of the 'test' attribute evaluates to true, the content of the tag is processed. If the 'test' attribute still holds at the end of the loop then it is repeated. You can terminate the execution of the loop by using the _break command, but note that the current iteration will finish before the loop is exited. See the _break documentation for more details.

Examples of use

                                
                        

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