Java Tip 117: Transfer binary data in an XML document | JavaWorld
XML has gained popularity as a platform- and language-independent format for transferring data across systems. In situations where you need to transfer binary data within an XML document, you must encode that binary data into an acceptable character forma...