Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


IMAGE DISPLAY

From: "Simon Gare" <simon@---------.--->
To: 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 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent