[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Displaying Base64Binary as Image


Subject: RE: [xsl] Displaying Base64Binary as Image
From: "Lincoln Mitchell" <lincoln@xxxxxxxxxxx>
Date: Thu, 30 Dec 2004 10:43:39 +0800

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: [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


Current Thread
Keywords