J
Jenna
I've been trying to get my head around this XML stuff and think I
understand it pretty well.
But the XML file I'm trying to use looks very different from the
examples I've seen. I don't think I'm selecting the nodes correctly.
Any suggestions or should I be looing in JS group?
XML file location: http://www.fly.faa.gov/flyfaa/xmlAirportStatus.jsp
##########################################
# My Script
##########################################
<script type="text/vbscript">
set xmlDoc=CreateObject("Microsoft.XMLDOM")
xmlDoc.async="false"
xmlDoc.load("http://www.fly.faa.gov/flyfaa/xmlAirportStatus.jsp")
set
nodes=xmlDoc.selectNodes("/AIRPORT_STATUS_INFORMATION/Ground_Delay/ARPT/text()")
for each x in nodes
document.write("<xmp>")
document.write(x.xml)
document.write("</xmp>")
next
</script>
understand it pretty well.
But the XML file I'm trying to use looks very different from the
examples I've seen. I don't think I'm selecting the nodes correctly.
Any suggestions or should I be looing in JS group?
XML file location: http://www.fly.faa.gov/flyfaa/xmlAirportStatus.jsp
##########################################
# My Script
##########################################
<script type="text/vbscript">
set xmlDoc=CreateObject("Microsoft.XMLDOM")
xmlDoc.async="false"
xmlDoc.load("http://www.fly.faa.gov/flyfaa/xmlAirportStatus.jsp")
set
nodes=xmlDoc.selectNodes("/AIRPORT_STATUS_INFORMATION/Ground_Delay/ARPT/text()")
for each x in nodes
document.write("<xmp>")
document.write(x.xml)
document.write("</xmp>")
next
</script>