This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Getting an image from base64-encoded data
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Getting an image from base64-encoded data
- From: Bertrand Delacretaz <bdelacretaz at codeconsult dot ch>
- Date: Fri, 19 Oct 2001 12:02:57 +0200
- Organization: codeconsult
- References: <17875009067.20011019102012@jenitennison.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
On Friday 19 October 2001 11:20, Jeni Tennison wrote:
> . . .
> You have an XML document that contains an element that contains a
> base64-encoded image, something like:
>
> <Document_Type>
> <IMAGE xmlns:dt="urn:schemas-microsoft-com:datatypes"
> dt:dt="bin.base64">SUkqAAgAAAAPAP4ABAABAAAAAA...</IMAGE>
> </Document_Type>
>
> You need to get a .tif file that contains the binary data encoded
> within the XML.
An alternative would be to use Cocoon (xml.apache.org), to setup a pipeline
like this:
Cocoon FileGenerator to get the XML data
Cocoon XSLT Transformer to extract image elements
Custom (I think) Serializer to generate the image data
--
-- Bertrand Delacrétaz, www.codeconsult.ch
-- web technologies consultant - OO, Java, XML, C++
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list