Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以我从 W3schools 创建了相同的 books.xml 文件。现在我正在尝试使用 Xquery。
我从这个命令开始: doc("books.xml")
doc("books.xml")
但它显示以下错误:
错误地放置 () 的。
我必须使用这个查询:doc("books.xml")/bookstore/book/title 但我得到了同样的错误
doc("books.xml")/bookstore/book/title
有什么建议么?
我发现了错误,我上传到我的 gl 的撒克逊文件没有正确上传。我的意思是它是 3.9 MB,但在 gl 上它是 0 大小!所以它现在工作得很好