Skip to content

Instantly share code, notes, and snippets.

@krutz27
Created October 4, 2013 13:36
Show Gist options
  • Select an option

  • Save krutz27/6826034 to your computer and use it in GitHub Desktop.

Select an option

Save krutz27/6826034 to your computer and use it in GitHub Desktop.
//parse an XML file
function parseXml(xml) {
//find every Tutorial and print the author
$(xml).find("Tutorial").each(function()
{
$("#output").append($(this).attr("author") + "
");
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment