XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

Article:
 Very Dynamic Web Interfaces
Subject: Microsoft.XMLHTTP vs. XMLHttpRequest
Date: 2005-12-25 22:28:59
From: PARTHA
Response to: Microsoft.XMLHTTP vs. XMLHttpRequest

I am using Servlet and IE 6.0.x.My servlet code is as
res.setContentType("text/xml");
out.print("<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>");
out.println("<message>");
out.println("success");
out.println("</message>");


It is returning the result as xml and getting Data
by req.responseText. But I am getting nothing if I use req.responseXML.I am getting Exception if I use the statement like
var resp = req.responseXML.documentElement;
But I have to process the result XML using DOM.How can I solve the problems.Please help me regarding this....


Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message


Titles Only Titles Only Newest First

Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938