[no subject]
1. Pre-process the 'not-so-quite-XML' file, replacing
bytes 0x00 ... 0x1f and 0x7f with character references
"␀" .. "␟" and "␡"
2. Use libxml2
3. Do the inverse of 1
Nice side effect: the proverbial editor application needing this
behaviours gets useful display of the control characters.
Warnings: The processing is only industrial grade reversible,
obviously.
Regards,
Peter Jacobi
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]