在线文档教程

ancestor

ancestor

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