XML DOM » XTLRuntime » depth

Compability: Internet Explorer

Syntax:
xtlRuntime.depth(pNode)

This method returns a long integer indicating the depth within the document tree at which the specified node appears. The root node, or document element, is numbered 0, its children 1, and so on.