Re: [xsl] Decode Base64 data and namespaces

Subject: Re: [xsl] Decode Base64 data and namespaces
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Mon, 28 Jun 2010 14:32:00 +0100
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

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"/>

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

Michael Kay

Current Thread