I have done this using Apache Cocoon.
The Base64Binary is 1st converted to SVG and then serialized as a jpeg.
Cocoon uses Apache Batik to do this so you may not need Cocoon.
Linc
-----Original Message-----
From: Walid koleilat [mailto:wkoleilat(_at_)hotmail(_dot_)com]
Sent: Thursday, 30 December 2004 6:10 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Displaying Base64Binary as Image
Hi,
I saved an image in an xml file as a Base64Binary as indicated below:
<ClassDiagrams>
<ClassDiagram>/9j/6wIORVBTAHic7ZZLq8IwEIX7/39JNy7EheKiLlwJPjYKKj4QFbWC9S0qwv
1oMJQEp631crngWZRmmmQmM2dO6jhf/AHO53MQBPV6vVqtuq67XC6V/Xq9djqdfD6PcTgcZvQyn8
/dELlczvO8Wq3WbrdLpZLaH/DebDYxFgqFjO7Ywfd9w4iFzXnebjdt5B2/73lZLBblcnk2myVfMh
6Pk08ejUbsr5LDiciYMDl6KAVqejwehSWbzcbYn/BOp1NsYL1e736/G8bBYPBq/na7pegUl1zZcQ
q4XC6GBU7ybLVar5YUi8VULlarFYkSJsCZV5/</ClassDiagram>
</ClassDiagrams>
the schema supporting this file is :
<xsd:sequence>
<xsd:element name="Images" type="xsd:base64Binary" minOccurs="0"
maxOccurs="unbounded"/>
</xsd:sequence>
I am trying to display this image using XSLT , I tried several method but it
is not working.
I appreciate any help .
regards
thnx
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--