I understand why control characters are illegal in XML 1.0, but still I need to store them somehow in XML payload and I cannot find any recommendations about escaping them. I cannot upgrade to XML 1.1.
How should I escape e.g. SOH character (\u0001
- standard separator for FIX messages)?
The following doesn't work:
<data></data>