Click to return to the XML (Extensible Markup Language) home page    
XTLRuntime childNumber Me...     XTLRuntime formatDate Met...     XTLRuntime Object    
Web Workshop  |  XML (Extensible Markup Language)

depth Method


Returns the depth within the document tree at which the specified node appears.

Syntax

depth(pNode)

Parameters

pNode
Object. Node for which the depth is to be returned.

Returns

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

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
XTLRuntime


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.