Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,455 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,956 people online right now. Registration is fast and FREE... Join Now!




Retrieving raw XML from XULDocument object

 
Reply to this topicStart new topic

Retrieving raw XML from XULDocument object

hansengel
2 Aug, 2008 - 04:17 PM
Post #1

New D.I.C Head
*

Joined: 2 Aug, 2008
Posts: 1


My Contributions
Hi,
I'm making an AJAX request and trying to parse the responseXML property. I need to get the raw XML from this object.. how can I do this?

I've spent quite a few hours on this today and still haven't been able to figure it out. Here's my latest attempt:
CODE

var resp = response.responseXML.childNodes[0];
alert(resp.innerText);


Also - I usually would use responseText to get the raw stuff but it's always null when I try to access it for this query.

Thanks for any help,
Hans Engel

This post has been edited by hansengel: 2 Aug, 2008 - 04:20 PM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 03:22PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month