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() 函数指定文档。
If you choose to create a new document, the create document screen (figure 4) appears in the doc portlet.
如果选择创建新文档,那么在Doc portlet中出现Create Document屏幕(图4)。
应用推荐