[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: embed Base64 content into xml element
On 09/04/2010 19:50, Suresh wrote:
I have some content in base64 format in a text file. How can I embed the base64 content into xml file.
If you know that the text encoded is valid XML character data then your system may have an extension function to decode it http://www.saxonica.com/documentation/extensions/functions/base64binarytostring.html (or it wouldn't be too hard to write the decoder in xslt) but in general base64 can encode binary data that includes byte sequences not legal in XML text encodings so in that case you'd have to decide what to do (the usual way of encoding such things in xml is to base64 encode them....
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|