Connecting Tech Pros Worldwide Help | Site Map

How can I display an image in a div, that is listed in an XML, with a java function?

Newbie
 
Join Date: Aug 2009
Posts: 1
#1: Aug 13 '09
1. I have a XML file for a portfolio. Each "project" in the portfolio contains elements: project title, project date, project location and project image.

2. I have loaded the XML file into the DOM.

3. I have been able, with Java, to extract the data from all elements that contain text and display them in different divs.

3. I have NOT been able to extract the image link and display it in a div.

Please help me!
Dormilich's Avatar
Moderator
 
Join Date: Aug 2008
Location: Leipzig, Germany
Posts: 3,629
#2: Aug 14 '09

re: How can I display an image in a div, that is listed in an XML, with a java function?


how do you extract the data, with XPath?
Reply