This snippet worked well for me:
(function () {
var getUrl = "
http://www.ncbi.nlm.nih.gov/pubmed/19072263?report=XML&format=text";
jQuery.get(getUrl,null,function(data){
var unescaped_data = jQuery(data)[1].textContent
var jxml = jQuery(unescaped_data);
console.log(jxml[0].tagName);
});
})();
--
Luca Greco @ Alca Società Cooperativa
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---