METHOD:  XTLRuntime::ancestorChildNumber

This method is a Microsoft extension to the W3C DOM.

ancestorChildNumber(bstrNodeName, pNode)

The ancestorChildNumber method returns the number of the nearest ancestor of a node with the specified node name. The 'bstrNodeName' parameter specifies the name of the desired ancestor, and the 'pNode' parameter is the node from which to start the search. This method returns the number of the ancestor node relative to its siblings, with the first in the list being #1. It returns null if no such ancestor is found.



Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information