Ummm...why would you think that "continent1" and "continent" would be the same thing???
Computers don't care whether you misspell by 1 letter or by 97 letters; if there's any difference AT ALL, the two strings are not the same.
And then, once you fix that, you need to understand the
xmlC is going to be a *collection* of nodes. So how can you ask to get *ONE* attribute from an entire collection of nodes?
On top of that, why would you think that the attribute named "listings" would hold a continent name when clearly each of those tags says
listings="0"
???
So *PROBABLY* you need code *SOMETHING* like this:
Code:
...
Set oXML = Server.CreateObject("Microsoft.XMLDOM")
oXML.async = False
oXML.load (adPhysicalFlash & "countryindex.xml")
set xmlC = oXML.selectNodes("//data/continent")
For nnum = 0 To xmlC.length-1
set cont = xmlC(nnum)
cname = cont.getAttribute("name").text
Response.Write "Continent: " & cname & "<BR>" & vbNewLine
Next
...
%>