RE: Displaying Base64Binary as Image
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@xxxxxxxxxxx] Sent: Thursday, 30 December 2004 6:10 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format