Reputation: 31
I am trying to convert an arbitrary Xml Document to a byte array so that it can be encoded using Base64. Can anybody help me with how to go about this. Also, what's the easiest api to use for base64 encoding in Java?
Thanks.
Upvotes: 2
Views: 7490