The path /book/price identifies all price elements that are immediate children of the element "book."
路径 /book/price 识别了所有 price 元素,它们是元素 “book” 的直接子元素。
The fourth predicate $i/*/price = 29 looks for price elements under any root element, not just "book."
第四个谓词 $i/*/price = 29 将查找任何根元素下的 price 元素,而不仅仅是在 “book” 元素下的。
Not only "price" elements can fulfill this predicate.
不仅是 “price” 元素可以满足该谓词。
应用推荐