Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: IMAGE DISPLAY IMAGE DISPLAYTo: NULL Date: 8/4/2007 7:48:00 PM
Hi all,
need to display an image from an url in an xml page but cant seem to make it
happen, doesnt matter what i put in the image src=" it wont parse the url.
The lines of code below are
XML File
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <guestbook>
- <ROOT>
<jID>27613</jID>
<jVehicletype>images/SQLimages/VTypeStandard.gif</jVehicletype>
<jDriverNo>8</jDriverNo>
<jStatus>Select Status</jStatus>
<jCustomerID>The Gare Group</jCustomerID>
<jTimeOfBooking>21/07/2007 17:30:00</jTimeOfBooking>
</ROOT>
iIN THE JS FILE
document.getElementById("bVehicle_type").value=
xmlDoc.getElementsByTagName("jVehicletype")[0].childNodes[0].nodeValue;
IN THE ASP PAGE
<img src="<%= bVehicle_type%>" border="0">
I know the above doesnt work but if someone could fill in the balnk I would
be grateful.
Regards
Simon
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
