Advertisement

09.19.2008 at 12:22PM PDT, ID: 23747078 | Points: 250
[x]
Attachment Details

Conveting XML encoded image into a jpeg.

Asked by AnthonyMacEgan in Extensible Stylesheet Language Transformation (XSLT), MySQL Server, JAXP & SAX (XML APIs)

Tags: , ,

Hi Guys,
This is my first time posting on this site; so hello to all.

I am a relative newbie to a lot of aspects of programming so forgive any jargon errors.

I have an XML file of data pertaining to properties that I am parsing and inserting into a MySQL database.
I am using old fashioned queries to display this data on a web browser.  
Their is an image tag for each property element consisting of thousands of characters. This element is some form of representation of the pixels of the image eg.
<ImageData contenttype="image/jpeg"><![CDATA[/9j/4AAQSkZJRgABAQEASABIAAD/4SZeRXhpZgAASUkqAAgAAAALAA8BAgAJAAAAkgAAABABAgAPAAAAnAAAABIBAwA

and on she goes.
Could someone outline for me how I can transform this into a viewable image file.
Best regards,
AnthonyStart Free Trial
[+][-]09.22.2008 at 12:34PM PDT, ID: 22543187

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.24.2008 at 04:53AM PDT, ID: 22558699

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42 / EE_QW_2_20070628