Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: Newbie to XML - problem using xmlhttp [Thread Next] Re: Newbie to XML - problem using xmlhttpTo: 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 ***
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
