[jQuery] Re: XML Processing

2008-02-05 Thread Jamie
Thanks for the help Shawn! Works great! On Jan 21, 3:38 am, Shawn <[EMAIL PROTECTED]> wrote: > I did it in this way > // jquery  version: 1.2.1 packed > if($.browser.msie){// in ie6 >     $xml=""+$response+"";// .. is needed for > ie6}else{ > >     $xml=$xml.replace("]]>","").replace("

[jQuery] Re: XML Processing

2008-01-21 Thread Shawn
I did it in this way // jquery version: 1.2.1 packed if($.browser.msie){// in ie6 $xml=""+$response+"";// .. is needed for ie6 }else{ $xml=$xml.replace("]]>","").replace("

[jQuery] Re: XML Processing

2008-01-07 Thread Jamie
That doesn't work for me. I get an error saying "length is null or not an object", because the $(path,xml) call did not return a result (I tried calling this outside of the for loop boundary to check this). I've made the problem even simpler, maybe this will point to what I'm doing wrong. This

[jQuery] Re: XML Processing

2008-01-06 Thread chrismarx
personally, i love using jquery thusly for parsing xml var xml = data; var path = "subscr.Subscriber>subscriberId"; for (var i=0;i<$(path,xml).length;i++){ alert( $(""+path+":eq("+i+")").text() ) } On Jan 4, 3:09 pm, Jamie <[EMAIL PROTECTED]> wrote: > Hey, > > I am attemptin