简体   繁体   中英

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; and &gt; in the DB. Can somebody help how to prevent this.? Now I have to read the DB and then replace these &lt; and &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

I hope it helped by the resolution of your problems

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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