Hi,
Yes the above code works for me. The only thing I had to do was trim the first part of the returned data. As the ECMAScript didn't seem to like the header:
Weather.COM provides a header like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
So I excluded it before making the XML object:
if (xmlData.indexOf("= 0) // Trim the XML tag off if it was included.
xmlData = xmlData.substring(xmlData.indexOf("?>")+2);
var weather = new XML(result); // Make ECMAScript object
Were you assigning the value straight into a widget label like I am?
Brett