Visit Mozilla.org

XPath:Axes:ancestor

From MDC


The ancestor axis indicates all the ancestors of the context node beginning with the parent node and traveling through to the root node.