Copying an element node copies the attribute nodes , namespace nodes , and children of the element node , as well as the element node itself 复制元素节点的同时,也将复制属性节点、命名空间节点和元素节点的子级以及元素节点本身。
Note : namespace nodes of the current node are automatically copied as well , but child nodes and attributes of the current node are not automatically copied 注意:当前节点的命名空间节点也会被自动复制,但是当前节点中的子节点和属性将不会自动复制。
The preceding axis contains all nodes in the same document as the context node that are before the context node in document order , excluding any ancestors and excluding attribute nodes and namespace nodes Following轴axis包含同一文档中按文档顺序位于上下文节点之前的所有节点,除了祖先节点,属性节点和命名空间节点
The following axis contains all nodes in the same document as the context node that are after the context node in document order , excluding any descendants and excluding attribute nodes and namespace nodes Following轴axis包含同一文档中按文档顺序位于上下文节点之后的所有节点,除了祖先节点,属性节点和命名空间节点
The descendant axis contains the descendants of the context node ; a descendant is a child or a child of a child and so on ; thus the descendant axis never contains attribute or namespace nodes Descendant后代轴包含上下文节点的后代,一个后代是指子节点或者子节点的子节点等等,因此descendant轴不会包含属性和命名空间节点
The ancestor , descendant , following , preceding and self axes partition a document ignoring attribute and namespace nodes : they do not overlap and together they contain all the nodes in the document Ancestor , descendant , following , preceding和self轴axis分割了xml文档忽略属性节点和命名空间节点,不能交迭,而一起使用则包含所有节点
An error occurs if a member of the sequence of nodes created by instantiating the template is an attribute node or a namespace node , because a root node cannot have an attribute node or a namespace node as a child 如果通过实例化该模板创建的节点序列中的某个成员是属性节点或命名空间节点,将出错,因为根节点不能将属性节点或命名空间节点作为子节点。