Tokenizing in Xquery

删除回忆录丶 提交于 2019-12-20 05:23:14

问题


How to tokenize special characters like "&" and "?" in xquery. As I'm trying to Tokenize these special characters, I'm unable to do this. Can u suggest me to clear this issue?


回答1:


You have to escape the ampersand as you do it in XML.

tokenize($string, "&")

Alternatively, you could also use its unicode codepoint:

tokenize($string, codepoints-to-string(38))


来源:https://stackoverflow.com/questions/10641546/tokenizing-in-xquery

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!