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

Re: Getting an image from base64-encoded data

Subject: Re: Getting an image from base64-encoded data
From: Bertrand Delacretaz <bdelacretaz@xxxxxxxxxxxxxx>
Date: Fri, 19 Oct 2001 12:02:57 +0200
base64 encoded image data
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


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.