Altova User Forum

Important: this is not a Support Forum! Experienced users might answer from time to time questions posted here.
If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

extract images from xml Options · View
Posted: Tuesday, June 28, 2011 1:57:27 PM
Rank: Advanced Member

Joined: 6/28/2011
Posts: 68
Location: italy
good morning.
I'm sure others have posted this question, but I can not find the answer.

question: how can i extract images inside an xml file and generate a valid jpg (or other format) file ?

i start from a access db that contain attachment. i export db data in to xml format to paginate, but image file must be extracted from xml file before pagination.

tx and sorry for my english.

Posted: Tuesday, June 28, 2011 5:59:17 PM
Rank: Advanced Member

Joined: 10/28/2002
Posts: 834
Location: AT

your question is not clear:

1)how is the image stored / referenced in the xml file? i.e. is there simply a path to a file on your filesystem? or is the image stored as binary64 data? Please provide an example of the xml file that you are exporting from the database.

2)what do you mean by to xml format to "paginate"? What do you want to do with the xml data? do you want to transform it into another format i.e. pdf,html,rtf,word? if so, do you want the images to appear in the output document?

Please clarify
Posted: Tuesday, June 28, 2011 8:06:09 PM
Rank: Advanced Member

Joined: 6/28/2011
Posts: 68
Location: italy
hello island, thank you for reply.
here you can download my sample access DB with a sample xml exported:

the image is stored inside the <image> tag

was just a loudly consideration...
i use the xml file to paginate data but with a valid xml containing a href attribute i have no problem

as you can see in the xml file the image is incorporated inside the xml and i need to scorporate it.
really tx for your help.

Posted: Wednesday, June 29, 2011 8:45:52 AM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,499
Location: Mauritius
See my answer to the same question from you here
Users browsing this topic

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova User Forums Terms of Service.

Please note that the Altova User Forum was launched so that our users have the possibility to interact and exchange their experiences regarding Altova's product line with one another. It must be pointed out that our support engineers and software engineers regularly post answers to questions in the user forum as an extra service, however this is not a replacement for the regular support mechanism and we cannot in anyway guarantee that a question will be answered or give a specific timeframe for an answer.The user forum was not intended to replace the online support form, but was implemented as an additional source of information after repeated requests for a user based forum in which users can help one another.