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

ancestorChildNumber Method


Returns the number of the nearest ancestor of a node with the requested node name.

Syntax

ancestorChildNumber(bstrNodeName, pNode)

Parameters

bstrNodeName
String. Node name of the desired ancestor.
pNode
Object. Node from which to start the search.

Returns

Long integer. Returns the number of the ancestor relative to its sibling nodes. The first entry in the list is assigned the value 1. Returns null if there is no such ancestor.

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.