Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Newbie to XML - problem using xmlhttp

From: "Scott M." <s-mar@------.------>
To: NULL
Date: 6/8/2007 8:13:00 PM

"File.xml" is just an example.  You need to substitute your own xml file 
name there.  Or, if you aren't loading from a file, but from a string or 
stream, then don't use this syntax:

xmlDocument.load('file.xml')

Use this syntax:

xmlDocument.loadXML(xmlStringContainer or xmlStreamContainer)

Where the words xmlStringContainer and xmlStreamContainer should be replaced 
with the name of the variable that holds your xml or the name of the stream 
object that holds your xml.

You don't need to do anything with application/xml.

-Scott


"Gene Arnold" <gene.arnold@g...> wrote in message 
news:OLv%23jVdqHHA.4132@T......
> I'm a little confused here? I'm trying to do pretty much the same thing
> but I have access to the server and I'm building a well formed XML
> document that needs to be returned. The example that worked loads the
> XML document with file.xml, is that really the URL that should be
> passed? I tried to do that Application/XML thing but I guess I'm not
> sure where to put it? Any help would be great, I've already learned alot
> from this post :)
>
>
> *** Sent via Developersdex http://www.developersdex.com *** 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent