The ancestor-or-self axis contains the context node and the ancestors of the context node; thus, the ancestor-or-self axis will always include the root node.

  • ancestor-or-self轴axis包含上下文节点本身和该节点的祖先节点。
目录 查词历史