This is the javascript code which uses the jQuery library. I tried with the following code and was able to retrieve the value from the specific tag.
CODE
$.ajax({
type: "GET",
url: "test.xml",
dataType: "xml",
success: function(xml) {
$(xml).find('yweather\\:condition').each(function(){
var text_attr = $(this).attr('text');
alert ( "text attribute : " + text_attr );
});
}
Thanks,
Robyn