XML Script logo
__delay - using to delay evaluation of an element
Usage

The __delay attribute allows an element to be excluded from processing, typically so that it can be re-presented for processing at a later stage. For instance, if a template is being used to create code for evaluation by, say, a remote processor, it is important to delay the evaluation so that the code, rather than its output, can be passed on to the remote processor.

The default value for the __delay attribute is 0, which means that the element will be evaluated normally. If the value of the __delay attribute is a positive integer, the processor will not process the element but will echo the entire element with the value of the __delay attribute decremented by 1. By setting the value to a number higher than 1, it is possible to allow an element to be passed through multiple processes before finally allowing it to be evaluated.

Examples

Delay evaluation

Version

1.0

Ref

t.4

Date

14 March 1999

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