Can anyone tell me how to read an XML data file with VBscript? I have an XML file of the format
someref
sometitle
somedate
.
.
.
Now I want to use VBScript scripts in an ASP file to read that XML file and then use the data to format a table. So in some way, I want to derive VB variables, say, strRef, strTitle, strDate, and populate a table by coding
for each in the XML file.
My problem is that I can’t find a method that works. I’ve tried XMLRead which looked promising, but I couldn’t find a way of getting the page to display in any way! I must be doing something wrong! Can anyone provide me with all that I need to code round what I’ve put here? Or am I mistaken that this can actually be achieved? I’m aware that I can use simple XML to achieve what I want EXCEPT for the href value – that’s what’s driving me crazy! Thanks in advance.