I load an xml \[code\] $.ajax({ url: '../rest/', dataType: "xml", success: showXML }); function showXML(xml) { $("#output").text((xml)); }\[/code\]but he doesn't show the xml in my output divhe shows this: [object Document]what needs to be done so he will simple display the xml?