illegal XML characters
Sometimes I dump binary data into XML. Being aware of illegal bytes (0-8,B-C,F-1F), I encode everything in base64. But there is a nice alernative way, just revealed by Roger Costello in the xml-dev maillist:
Move any illegal characters into the Private Use Area: for each illegal character add hex E000.
Categories:
Generative XML