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
Milko
Posted: Tuesday, June 28, 2011 1:57:27 PM
Rank: Advanced Member

Joined: 6/28/2011
Posts: 54
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.

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

Joined: 10/28/2002
Posts: 779
Location: AT
Hi,

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
Milko
Posted: Tuesday, June 28, 2011 8:06:09 PM
Rank: Advanced Member

Joined: 6/28/2011
Posts: 54
Location: italy
hello island, thank you for reply.
here you can download my sample access DB with a sample xml exported:
https://docs.google.com/leaf?id=0B1-Ja5ucP5R5NmE5MjNhMGEtMzFiYi00MjE5LThhN2MtMWY5NWQ5YmI4ZDVj&hl=en_US

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.

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

Joined: 12/13/2005
Posts: 2,419
Location: Mauritius
See my answer to the same question from you here

http://www.altova.com/forum/default.aspx?g=posts&t=672
Users browsing this topic
guest

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.

Powered by Yet Another Forum.net version 1.0.0 RC3 - 9/24/2005
Copyright © 2003-2005 Yet Another Forum.net. All rights reserved.
This page was generated in 0.098 seconds.
6 queries (0.041 seconds, 41.82%).

yaf_pageload: 0.019
yaf_topic_info: 0.002
yaf_forum_list: 0.002
yaf_forum_listpath: 0.002
yaf_post_list: 0.013
yaf_active_listtopic: 0.003

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.