how to display a full XML in an html page with jquery

koil70

New Member
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?
 
Back
Top