XML Script logo
Element specification using '*' and '.'
Usage

In some cases it is useful to be able to specify all sub-elements in a pointer mask. This can be done with the '*' syntax, and allows constructs such as <_foreach element="foo\*" > to match all the sub-elements of the foo element.

You may also occasionally want to specify the current element in an interpolation. The '.', syntax is used for this: you can use '.' anywhere you would normally specify an element mask, for example <_process element='.' />

Examples

Using '*' with _foreach

Summing arbitrary sub-elements

Using '.'

Version

1.0

Ref

t.51

Date

August 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