I wrote a script to read and format an XML feed. I was working great for a while. I am not sure what changed, but now I am getting an error:
Object required: 'XMLRoot'
/NBAStandingsTemp.asp, line 16
Unfortunately the code is not getting very far. Here is the code where it is getting stuck:
Set objXML = Server.CreateObject("Micro
soft.XMLDO
M")
objXML.Async = False
objXML.SetProperty "ServerHTTPRequest", True
objXML.ResolveExternals = True
objXML.ValidateOnParse = True
objXML.Load(TheFeed)
Set XMLRoot = objXML.documentElement
Set StandingTag = XMLRoot.getElementsByTagNa
me("standi
ng")
The above line is line 16.
The running example (well not really running) is here:
http://www.sorenwinslow.com/NBAStandingsTemp.aspHere is where you can see my complete code:
http://www.sorenwinslow.com/NBAStandingsTemp.txtHere is the data feed:
http://erikberg.com/nba/standings.xmlStart Free Trial