[jQuery] Xml parsing error

[jQuery] Xml parsing error

Hi,
I try to load and parse some xml like this :
$.post("pages/action.php",{
    action: "getmcp",
    categorie: '1',
    pattern: 'aaa'
    },function (xml){
        $("article", xml).each(function(){
            $(this).find("title").each(function(){
        alert( this.text );
            });
        });
});
I always get this error :
ret[i].getElementsByTagName is not a function in jquery.js line 588.
I can't find where the problem is. If I replace my callback function
code by an alert(xml), I get the xml correctly, so why can't I parse
it ?
Thanks, Francis.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/