Response title
This is preview!
var xml = "<rss version='2.0'><channel><title>RSS Title</title></channel></rss>";
// parseXML will parse the string to an Object, or as the docs put it:
// "parseXMLuses the native parsing function of the browser to create a valid XML Document."
// from what I cam see, this is already an object
var xmlDoc = $.parseXML( xml );
// I guess the next step is also described in the docs, is this casting?
// "This document can then be passed to jQuery
to create a typical jQuery object that can be traversed and manipulated"
// not sure what happens when you pass it to jquery...?
var $xml = $( xmlDoc );
// this is fine, I guess now we have a traversable object
var $title = $xml.find( "title" );
© 2013 jQuery Foundation
Sponsored by and others.