This is because the path expression in the query targets only elements that have no namespaces.
这是因为该查询中的路径表达式仅指向没有名称空间的元素。
The expression selects all the elements, then returns the first one.
该表达式选择所有的 元素,然后返回第一个元素。
No simple non-recursive procedural expression accesses all elements, although many libraries include helper functions for walking the tree.
简单的非递归过程表达式并不能访问所有的元素,尽管许多库都包含有帮助功能,可以用于遍历树。
应用推荐