xmldom w2k problem?

Results 1 to 2 of 2

Thread: xmldom w2k problem?

  1. #1
    Join Date
    Dec 1969

    Default xmldom w2k problem?

    HI there ... i have had an asp script running for sometime now ...when all of a sudden the script has stopped working <BR><BR>it is a simple script that parses an aml file and displays the text of each element. here is the script <BR><BR>XMLFile = "xmlfile.xml" <BR>set xmlDoc = Server.CreateObject("Msxml2.DOMDocument.4.0") <BR><BR>response.write xmlfile <BR>xmldoc.async = false <BR>&#039;xmldoc.load(Server.MapPath(xmlfile)) <BR>xmldoc.load(xmlfile) <BR><BR>set xmlRoot = xmlDoc.documentElement <BR>Set oSubNodeList = xmlRoot.childNodes <BR>for each xmlPNode in oSubNodeList <BR>i = 0 <BR><BR>for each xmlNode in xmlPNode.ChildNodes <BR><BR>myArray(i) = xmlNode.text <BR>response.write myarray(i) <BR> <BR><BR>i = i + 1 <BR>next <BR> next <BR><BR><BR>the error i get is <BR>"Object required line 23 <BR><BR>line 23 is "for each xmlPNode in oSubNodeList" <BR>i have a feeling something has become corrupt in my w2k server as no changes have been made to the asp script or the xml file... <BR>can anybody help <BR>

  2. #2
    Join Date
    Dec 1969


    don&#039;t cross post. it&#039;s bad for your health.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts