简体   繁体   English

BaseX替换命令

[英]BaseX Replace Command

I was trying baseX replace query, replace goes all fine but all the < an d > characters in my XML are getting stored as &lt; 我正在尝试使用baseX替换查询,替换完全正常但我的XML中的所有<和d >字符都存储为&lt; and &gt; &gt; in the DB. 在DB中。 Can somebody help how to prevent this.? 有人可以帮助如何防止这种情况发生。 Now I have to read the DB and then replace these &lt; 现在我必须阅读数据库然后替换这些&lt; and &gt; &gt; with the respective characters. 与各自的人物。

If you're using XQuery to archive it you should definitely check the serialization options on http://docs.basex.org/wiki/Serialization 如果你使用XQuery来存档它,你一定要检查http://docs.basex.org/wiki/Serialization上的序列化选项

I hope it helped by the resolution of your problems 我希望通过解决你的问题来帮助它

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM