Compability: Internet Explorer
This method returns the number of the nearest ancestor of a node with the specified node name.
The ancestorChildNumber method returns the number of the nearest ancestor of a node with the specified node name. 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.