Are you using XML for general string storage? If yes, most of you are likely wrong. If you do not understand why the following XML is wrong and how you can avoid it, do NOT use XML for your purpose.
<xml version="1.0" encoding="utf-8"> <root>I have to escape \u0007 as </root>
If you gave up answering by yourself, read what Daniel Veillard wrote 6 years ago.