[jQuery] Re: XML print all nodes ( html() )

2010-01-11 Thread Shane
this worked: itemXML = $(this).clone(); XML elements can't do html... i just needed the clone. thanks for your help. On Jan 10, 10:14 am, John Arrowwood wrote: > Try it without the clone().  And try it without the '/' after ' try doing console.log( itemsXML ) and see what gets output.  It is p

Re: [jQuery] Re: XML print all nodes ( html() )

2010-01-10 Thread John Arrowwood
Try it without the clone(). And try it without the '/' after ' wrote: > no go. > > On Jan 9, 10:56 pm, John Arrowwood wrote: > > console.log( $('').append( $(itemsXML).clone() ).html() ) > > > > See if that works. > > > > On Sat, Jan 9, 2010 at 7:27 PM, Shane wrote: > > > Is there a way to prin

[jQuery] Re: XML print all nodes ( html() )

2010-01-09 Thread Shane
no go. On Jan 9, 10:56 pm, John Arrowwood wrote: > console.log( $('').append( $(itemsXML).clone() ).html() ) > > See if that works. > > On Sat, Jan 9, 2010 at 7:27 PM, Shane wrote: > > Is there a way to print out the structure of a jQuery xml element... > > heres some code > > > $(xml).find("ite