Hi James,
Beforehand: Please send your mails to basex-talk@mailman.uni-konstanz.de; otherwise, they won't be directed to everyone.
Currently, there is no way to prevent the unescaping the entities (the XML and XQuery specifications do not foresee this). One way to enforce the escaping of certain Unicode characters could be to provide character maps when serializing data [2].
Christian
[1] http://www.w3.org/TR/xquery-31/#id-serialization [2] http://www.w3.org/TR/xslt-xquery-serialization-30/#XML_USE-CHARACTER-MAPS ____________________________________
On Wed, Nov 5, 2014 at 5:47 PM, James Sears james.hn.sears@gmail.com wrote:
How can I prevent unescaping of entities? Such that when I import an element whose value is expressed in hexadecimal - i.e. ® - I do not want an BaseXClient.Query result containing the non hexadecimal representation - i.e. ®.
What I'd like out is what I imported in :-)
basex-talk@mailman.uni-konstanz.de