Display XML from an External File as a Code Snippet

Display XML from an External File as a Code Snippet


I want to use jQuery to fetch an external file (xhr) and display it as
a code snippet for tutorial purposes in the document. I can do it with
pure DOM code but cannot find how to do it in jQuery. Can anyone help?