jQuery

Most of the traversing and manipulation methods provided by jQuery work with XML documents. $.parseXML() parses a well-formed XML string into an XML document, which can then be wrapped in a jQuery object and queried or modified with the usual jQuery methods such as find() and text().

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>jQuery.parseXML demo</title>
  <script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
</head>
<body>

<p id="someElement"></p>
<p id="anotherElement"></p>

<script>
var xml = "<rss version='2.0'><channel><title>RSS Title</title></channel></rss>",
  xmlDoc = $.parseXML( xml ),
  $xml = $( xmlDoc ),
  $title = $xml.find( "title" );

// Append "RSS Title" to #someElement
$( "#someElement" ).append( $title.text() );

// Change the title to "XML Title"
$title.text( "XML Title" );

// Append "XML Title" to #anotherElement
$( "#anotherElement" ).append( $title.text() );
</script>

</body>
</html>

RSS Title
XML Title

(Courtesy of http://api.jquery.com/jQuery.parseXML/)