[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] Getting an image from base64-encoded data
Subject: [xsl] Getting an image from base64-encoded data From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx> Date: Fri, 19 Oct 2001 10:20:12 +0100 |
Hi, I've been asked off list what the best approach is in the following situation: 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. I suggested writing the content of the IMAGE file out into a text file with XSLT and then converting from base64 to binary through an external process. I wondered if anyone else had other suggestions about how to deal with it? For example, using extensions? And thinking further than that... XML Schema has a couple of binary data types - is this (decoding and writing out binary) going to be a requirement that we encounter in future versions of XPath/XSLT? Is it ever going to be XSLT's job? Thanks in advance for your thoughts, Jeni --- Jeni Tennison http://www.jenitennison.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Does xalan:write work?, Hyun Sung Chang | Thread | Re: [xsl] Getting an image from bas, Bertrand Delacretaz |
RE: [xsl] create multiple documents, Joerg Pietschmann | Date | Re: [xsl] basic-link FOPException, Joerg Pietschmann |
Month |
Keywords