So where, in XPath, you'd apply a path like /cds/cd[title='Revolver'] to a specific document, you can indicate the document in your actual XQuery using the doc() function.
前面我们已经将路径 /cds/cd[title='Revolver'] 应用到了一个特定的文档,但在XQuery 中可使用doc() 函数指定文档。
So where, in XPath, you'd apply a path like /cds/cd[title='Revolver'] to a specific document, you can indicate the document in your actual XQuery using the doc() function.
前面我们已经将路径 /cds/cd[title='Revolver'] 应用到了一个特定的文档,但在XQuery 中可使用doc() 函数指定文档。
应用推荐