First on, what would you suggest? XML will not let you include arbitrary bytes in the document, not even if you escaped them as  so you do have to use something like base64 to ensure the stuff you put into the XML document contains only the safe characters. Preferably those that are the same in Latin1 and utf8 (and Latin2 and ...). There is no way to escape certain bytes (non-printable characters in Latin1 if you will) so that the result is valid XML and the parser returns those bytes. Sad but true.
In reply to Re^2: extracting binary file from XML
by Jenda
in thread extracting binary file from XML
by ultraman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |