I had something kind of similar... are you sure your web server is sending
that content as Text/XML?

http://www.perturb.org/display/entry/924/

On Thu, Jun 18, 2009 at 5:09 AM, tom.nov...@googlemail.com <
tom.nov...@googlemail.com> wrote:

>
> Hi,
>
> I have the following XML structure:
>
> <getusername>
>   <login>any name</login>
> </getusername>
>
> I do an ajax call on this and try to select the value in <login> like
> this:
> ...
> success: function(data) {
>        $(data).find("getusername").each(function() {
>                var user = $(this).find(".login").text();
>                if(user.length > 0) {
>                   //do something
>                }
> ...
>
> FF and IE7+ are reacting on this because I get back a proper value.
> IE6 (exept the one or other version) returns only 0. Why is that
> and what do I have to do to get the proper result in IE6 too?
>
> thx
> Tom
>

Reply via email to