I am trying to parse an XML file with the following code
I can get just about everything I want except the href. Here is the xml line I want to use.
Any help is always appreciated.
Code:
Set objXML = Server.CreateObject("Microsoft.XMLDOM")
objXML.async = False
objXML.Load (Server.MapPath("imsmanifest.xml"))
Set objLst = objXML.getElementsByTagName("resource")
For i = 0 to (objLst.length - 1)
response.write objLst.item(i).nodename & " : "
response.write objLst.item(i).Text & "<br><br>"
Next
I can get just about everything I want except the href. Here is the xml line I want to use.
Code:
<resource identifier="CCTRAY" href="participant/cc_tray.asp" adlcp:scormType="sco" type="webcontent">
Any help is always appreciated.