Problem with XML

Problem with XML

Hi guys,
I have an AJAX request which passes back some xml data, at the moment I am only interested in one of the nodes, so I do
var onlyChartData = jData.find ("chart");

This appears to work fine as I can
$(xmldiv).append (onlyChartData); and it's appends it to the div. However I cannot alert the data from onlyChartData, using .text or anything. I'm using FF.

This leads me on to my next problem.
I am using FusionCharts, and for some reason whatever when I call setDataXML or UpdateChartXML on a fusion Chart I am getting invalid data. I have checked the xml from the div and it is fine if loaded seperately by Fusion Charts.

Any ideas would be helpful.

Thanks

JD