View Single Post
  #4 (permalink)  
Old November 5th, 2003, 03:24 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

What OS are you running? This sample code ran fine on my machine after I made a small modification:

objXML.load(Server.MapPath("books.xml"))

Instead of using a hard coded path, I used Server.MapPath to convert the virtual location of the XML to a physical location on disk. However, if the file is located at the location you had in your code, it should run.

Did you install one of the latest version of XML from Microsoft? You may need to install a recent version of the XML parser from this location: http://msdn.microsoft.com/library/de...xmlgeneral.asp

Once you install the latest version, you should be able to instantiate a DOM Object with this progid: Msxml2.DOMDocument.4.0

HtH,

Imar




---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.