|There's more than one way to do things
Re^3: LibXML doesn't encode single or double quotesby grantm (Parson)
|on Nov 28, 2011 at 22:11 UTC
The clients that will be parsing this XML expect quotes and single quotes to be in entity form.
How would they even know? Any compliant XML parsing library will decode the entities and pass the actual character up to the application layer. Getting the XML content with entities in their raw form would be a bug that could only cause downstream pain. If that really is a requirement then I feel your pain.