Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - same problem.... [Thread Next] Re: same problem....To: NULL Date: 4/3/2007 2:08:00 PM
kim vaul wrote:
>
> even m trying to access the data sent back by serverlet in da form of
> xml but i cant access it.if i do it like responseText its showing
> complete xml file but if i use responseXML then nothing is coming up. i
> dont know wts da problem. i hc tries setting content type but still the
> problem is not resolved.
Make sure the XML is sent with the HTTP header
Content-Type: application/xml
or
Content-Type: text/xml
You can check xmlhttp.getResponseHeader('Content-Type') to find out. If
the proper header is sent but responseXML is empty then there was a
parse error so check xmlhttp.responseXML.parseError.errorCode/reason to
find out.
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
