I have an xml stream coming back to an asp page that loos like this:
I want to get these names into variables in asp and do something with them. So far I have this:
But this is just not doing anything. Any help here?
thanks
Information is not Knowledge, Knowledge is not Wisdom, Wisdom is not Truth, Truth is not Beauty, Beauty is not Love, Love is not Music, Music is the best.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<data>
<item>
<cell name="NAME" value="John" />
</item>
<item>
<cell name="NAME" value="DAve" />
</item>
<item>
<cell name="NAME" value="Tom" />
</item>
</data>
I want to get these names into variables in asp and do something with them. So far I have this:
Code:
set xmlDoc = Server.CreateObject("Microsoft.XMLDOM")
set nodeList = Server.CreateObject("Microsoft.XMLDOM")
xmlDoc.loadXML (xml)
Set nodeList = xmlDoc.getElementsByTagName("item")
For i = 0 To nodeList.length - 1
Set n = nodeList.Item(i)
response.write([WRITE THE VALUES HERE])
Next
But this is just not doing anything. Any help here?
thanks
Information is not Knowledge, Knowledge is not Wisdom, Wisdom is not Truth, Truth is not Beauty, Beauty is not Love, Love is not Music, Music is the best.