I figured it out. There was an "&" in one of my columns. I used the .replace("&","&") method and everything is great!
Thanks for you help!!!
Smith
Can you explain this to me? I wasn't getting this error before but now I am getting....
Whitespace is not allowed at this location. Error processing resource 'http://... Line 1, Position 365
Where do I look for Line 1, Position 365 in the xml string?
Smith3
I noticed that before each string column I have a space. Would that do it? I know "&" will but will spaces?
Here is the xml file...
<?xml version="1.0"?><ResultSet><Row><Column>204</Column><Column> TTL FIXED...
I tried this and the load still didn't work.
objXmlData = 0
rootNode = 0
var objXmlData = Server.CreateObject("MSXML2.DOMDocument")
I even tried to create a new variable call objXmlData2 and the still failed.
Is there something that I am missing?
Smith3
Hello All,
I have an ASP page that performs an sql call to get data for a second sql call. The first loads fine but when I try to load the second set of xml data the load is unsuccessful. Here is the line to load the xml data...
success = objXmlData.loadXML(objXmlHttp.responseXML.xml)
This...
I didn't see the MIME header in my asp. I am new to asp and I received this asp from another person. Where would I find the MIME header? The first sql statement works fine, it's the second sql statement that does not load. I am using loadXML so I can access each child object.
Like so...
I have an asp page making multiple sql calls to the server and the second loadXML is coming up false. Here is how I am loading the xml document.
success = objXmlData.loadXML(objXmlHttp.responseXML.xml)
I checked the objXmlHttp.responseText and it has the data I was trying to get but it won't...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.