XML Script logo up prev
Meta-attributes
Description

Every element has a number of meta-attributes which return information about the element.

Example

Syntax: __text_content

All the content of the tags except interpolations and sub-elements

Example

Syntax: __content

The entire content of this element as a text string

Example

Syntax: __element

The entire content of this element as a text string, including this element's tags

Example

Syntax: __exists

Returns true (1) if the element exists.

Example

Syntax: __path

Returns the path to the element

Example

Syntax: __index

This is set inside for, foreach and insert loops to be the current iteration

Example

Syntax: __tag

This returns the element name as a tag

Contents...

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