Created by: jstohner
As discussed in #753, here is my proposal for base64-encoding XML data. I had problems with NULL bytes in the parameter
element so I chose this as example.
Advantage of this approach is that the data isn't modified (NULL byte replaced with placeholder), so you can be sure to get the full/original data also with XML. Drawback is that an additional attribute is used to identify base64-encoded attribute values or element content. And of course you have to consider base64-decoding during XML parsing.