DOM Problem

Results 1 to 3 of 3

Thread: DOM Problem

  1. #1
    Join Date
    Dec 1969

    Default DOM Problem

    Having a problem loading an XML file into the XMLDocument object using the load <BR>method. If I go straight to the file through the browser it pulls up fine seeing <BR>the external entity references fine, but I need to transform the document with <BR>XSL prior to sending it out. The problem is that the XMLDocument won&#039;t load <BR>anything past the Doctype declaration thus leading me to the "XML document must <BR>have a top level element" error. <BR><BR>I have gotten the exact same files (minus path changes to the references) to work <BR>on a different server running an older version of IE, but I get this error on <BR>this box. I could understand it if it wouldn&#039;t come up at all but since it will <BR>come up directly through the browser just not through ASP and XMLDocument object <BR>I&#039;m confused. Any help would be appreciated. <BR>.<BR><BR>

  2. #2
    Forum Police Guest

    Default CROSSPOST!

  3. #3
    G Waddell Guest

    Default RE: DOM Problem

    Show us your ASP code, it could be todo with the way you are referencing the DOM object.<BR>P.s. although it is a XML question you are talking about opening by an ASP page so I think it counts as being a valid question.

Posting Permissions

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