Select the Output element from the palette and place it below the price element.
从调色板中选择 Output 元素,并将其放在 price 元素的下面。
If you know that a book has at most one price element, you can write the query using XQuery value comparisons, which force the comparison operands to be singletons.
如果知道某个book至多有一个price元素,则可以使用XQuery的值比较来编写查询,这迫使进行比较的操作数是单个数。
For example, you could define a Price element that is always a floating-point number or a PersonName element that has FirstName and LastName sub-elements that are both strings.
例如,可以定义始终是浮点数的Price元素或具有字符串子元素FirstName和LastName的PersonName元素。
应用推荐