Returns the depth within the document tree at which the specified node appears.
depth(pNode)
Long integer. Returns the depth within the document tree at which the specified node appears. The document element, or root node, returns the value "0"; its children return the value "1", and so on.
Applies To: XTLRuntime Object