Results 1 to 2 of 2

Thread: Help!

  1. #1
    Join Date
    Dec 1969

    Default Help!

    I have a .xml file. Now I write a small .asp program to try to read this file and I got a "Error" all the time. Any suggestions?<BR> <BR> The code:<BR><BR> set xmlDoc = Server.createobject("Microsoft.XMLDOM")<BR> xmlDoc.async="false"<BR> xmlDoc.load("test.xml")<BR> <BR> if xmlDoc.parseError.errorcode &#060;&#062; 0 then<BR> Response.Write "Error"<BR> else<BR> Response.Write "Good"<BR> end if <BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Help!

    try writing out the error code and description instead of just &#039;error&#039;<BR><BR>it may be that your XML file is not &#039;well formed&#039; or valid<BR><BR>j

Posting Permissions

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