[jQuery] jquery xml parsing issue

[jQuery] jquery xml parsing issue


hello dear jquery community.
recently i've run into a really strange problem when parsing xml
received via ajax;
XMLstructure:
<resultset>
<html_text>
<![CDATA[
<table class="tborder">
.....
]]>
</html_text>
<event>
...
</event>
</resultset>
the xml file is well structured as i've checked it a couple of times
myself.
now the code:
    $.ajax({type: "POST",
            url: location,
            dataType: 'xml',
            success: function(xml)
            {
                alert($(xml).text()) //executes - ok;
                node = $($('resultset', xml).children("html_text").text()); //
still ok;
                alert ($('resultset', xml).children("event").text()); //still
executes and shows the text!!;
                $('resultset', xml).children("event").each(function(){
                    alert("loop entered") //NEVER executes
})
...
end of code
so what am I doing wrong. the <event> block does exist! so there
should basically be no reason for it not to work.
thanks in advance