[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Decode Base64 data and namespaces

Subject: Re: Decode Base64 data and namespaces
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Mon, 28 Jun 2010 14:32:00 +0100
Re:  Decode Base64 data and namespaces
2) I have a Base64 string that belongs to an image and what I want to do
is to convert that base64 string into an image and display that image in
html.

I forgot that there's a solution to this in Saxon 9.2:


<xsl:result-document method="text" encoding="iso-8859-1" href="image.png" saxon:recognize-binary="yes">
<xsl:processing-instruction name="b64" select="$base64image"/>
</xsl:result-document>


where $base64image is a character string containing the base64 encoding of a binary value.

http://www.saxonica.com/documentation/extensions/output-extras/recognize-binary.html

Michael Kay
Saxonica

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.