[jQuery] Re: Parse encoded HTML in XML node

2009-09-25 Thread Bertilo Wennergren
Jeff wrote: I realize that the text() function is returning text, and not the nodes within. How can I return the nodes within, either as a jQuery object or the DOM nodes themselves, rather than the text, so I can actually parse them? The basic problem is probably that there are no nodes with

[jQuery] Re: Parse encoded HTML in XML node

2009-09-25 Thread Jeff
Fabian, Here's the js: $(document).ready(function() { $.ajax({ type: "GET", url: "sample.xml", dataType: "xml", success: function(data) { $(data).find('item').each(function() {

[jQuery] Re: Parse encoded HTML in XML node

2009-09-24 Thread Fabdrol
Hi Jeff, Could you post your JS code and your XML? I'd like to play around with it for you, but things aren't really clear right now ;-) Fabian On 23 sep, 21:36, Jeff wrote: > Hi, > > I'm using $.ajax with a dataType of xml.  The XML document I'm getting > has a node that contains a bunch of