Log in

View Full Version : ASP XMLDOM Help required



Topcoat
05-04-2009, 09:18 PM
I have an XML file that I need to read using ASP (XMLDOM). I need to flatten the file into a database. The node <property> denotes a new record but within each record there are images. These are listed as children as follows:


<property>
<name />
<date />
<price />
<images>
<image1>name</image1>
<image2>name</image2>
</images>
</property>

I need to know how to loop through the images to retrieve the data whilst within the <property> tag. I want to populate a variable for each image. I am using ASP with VBScript. Any tips would be greatly appreciated!!