Additionally, for each row, we will return a valid XML document containing a root element only.
另外,对于每一行,返回一个有效的XML文档,其中只包含一个根元素。
This is a sequence of elements, yet not a valid XML document because it doesn't have a root element.
这是一系列元素,还不是有效的XML文档,因为它没有根元素。
Like previous examples, we want to return a valid XML document, so we will wrap the result of the XQuery with the root XML element.
与前面的示例相似,我们要返回一个有效的XML文档,所以将XQuery的结果封装在xml根元素中。
应用推荐