in an XML node that looks like this:

why would this code not work?
xml = $.parseXML( xml );
console.log(xml);
plot = $(xml).find("movie");
aP = plot.attributes
console.log(aP);
I am getting undefined for console log. aP
i also tried aP = $(plot).attributes