Al4ddin2
asked on
Reading an XML file in ASP (classic)
Hi,
I am using classic ASP, but am relatively new to it. I would like to read in an XML file for an image placeholder that displays a different image depending on the page number. Also have a default image if none is available in the XML. The XML will be similar to this...
<items>
<item>
<page_number>1</page_numbe r>
<image>/assets/image1.jpg< /image>
</item>
<item>
<page_number>2</page_numbe r>
<image>/assets/image2.jpg< /image>
</item>
</items>
But this can change to a better format should it need to.
Any help to start off would be great thanks.
I am using classic ASP, but am relatively new to it. I would like to read in an XML file for an image placeholder that displays a different image depending on the page number. Also have a default image if none is available in the XML. The XML will be similar to this...
<items>
<item>
<page_number>1</page_numbe
<image>/assets/image1.jpg<
</item>
<item>
<page_number>2</page_numbe
<image>/assets/image2.jpg<
</item>
</items>
But this can change to a better format should it need to.
Any help to start off would be great thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.albofish.co.uk/reading-an-xml-feed-using-classic-asp/