XML Script logo
Function depth
Name

depth

Returns

number

Parameter count

1

Parameter 1

item, a pointer(s)

Description

This function returns how deep an element or attribute is inside its tree. The depth of an attribute is the same as the depth of its parent element.

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