xml parse

xml parse

im using this tutorial
but it only seems to work in FF,  chrome and IE gives errors
does anyone know why this is?

  1. $(document).ready(function()
  2. {
  3.   $.ajax({
  4.     type: "GET",
  5.     url: "jquery_xml.xml",
  6.     dataType: "xml",
  7.     success: parseXml,
  8. error: err
  9. });
  10. });
  11. function err(xhr, reason, ex) 
  12.   $('#output').append(reason);
  13. }

  14. function parseXml(xml)
  15. {
  16.   $(xml).find("Tutorial").each(function()
  17.   {
  18.     $("#output").append($(this).attr("author") + "<br />");
  19.   });
  20. }