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.
如何标记特殊字符,如“&”和“?” 在 xquery 中。当我试图标记这些特殊字符时,我无法做到这一点。你能建议我解决这个问题吗?
您必须像在 XML 中那样转义 & 符号。
tokenize($string, "&")
或者,您也可以使用其 unicode 代码点:
tokenize($string, codepoints-to-string(38))