Now the original XML file is generated from a Java based Lotus Notes Agent. I have tested the XML output in IE/FireFox/Opera which opens up and displays the output just fine as XML. I have also taken the output and created an XML file locally to load it as one of the examples. Nothing but errors. =(
I am hoping that some one can help make sense of this. Please?
Expand|Select|Wrap|Line Numbers
- <%
- var XMLParser = new ActiveXObject("MSXML2.DOMDocument.3.0");
- XMLParser.async = false;
- try
- {
- // Error: The system cannot locate the specified resource.
- //XMLParser.load("http://Subdomain.ExternalDomain.com/JimsTest.nsf/List.xml"); // From Notes Agent
- //XMLParser.load("http://ExternalDomain.com/foreclosure/List.xml"); // Locally Saved File
- // Error: No data is available for the requested resource.
- //XMLParser.load("http://InternalIPAddress/JimsTest.nsf/List.xml"); // From Notes Agent
- // Error: The filename, directory name, or volume label syntax is incorrect.
- //XMLParser.load("\\InternalUNC\foreclosure/List.xml"); // Locally Saved File
- //XMLParser.load("D:\LocalPath\foreclosure\List.xml"); // Locally Saved File
- // Error: The system cannot locate the object specified.
- //XMLParser.load("List.xml"); // Locally Saved File
- if (XMLParser.parseError.errorCode!= 0)
- {
- var myErr = XMLParser.parseError;
- %>
- <strong>XML Parser Error:</strong> <%= myErr.reason %>, <%= myErr.line %> <br />
- <%
- } // end if block
- } catch (error)
- {
- error.printStackTrace();
- } // end catch block
- var ForeclosureList = XMLParser.getElementsByTagName("Foreclosure");
- %>