XML Script logo
Attributes - finding
Usage

It is sometimes useful to be able to find attributes even when you do not know what they are called. This can be done by using the <_attributes> tag. It creates an <ATTR> element at the specified location, which contains sub-elements with the same names as those matching the given element mask. If the location is not specified or does not exist, the ATTR sub-element of the current template element is used (it is created if it does not exist already).

Each sub-element has a number of <attribute> sub-elements which have name and value attributes. Each of these corresponds to an attribute of the element.

Examples

Using _attribute with no location specified

Using _attribute with a location specified

Using _attribute with multiple elements

Version

1.0

Ref

t.52

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