Displaying XML Value in Flash

I’m having trouble setting the value of a dynamic text field (elevation) equal to a value from an external XML source.

Here is a snippet of the XML source:[indent]<?xml version=“1.0” encoding=“utf-8”?><WeatherReport xmlns:xsd=“http://www.w3.org/2001/…”>
<station>
<elevation>6</elevation>
</station>
<WeatherReport>
[/indent]I load the XML source into Flash using:[indent]var weatherQuery = http://www.bgxcomponents.com/webservices…;var weatherXML = new XML();
weatherXML.ignoreWhite = true;
weatherXML.onLoad = displayResults;
weatherXML.load(weatherQuery);
[/indent]Then I try to set the dynamic text field “elevation” equal to the “elevation” value in the XML using the following code, but nothing happens:

[indent]function displayResults() {
elevation.text = airportXML.WeatherReport.station.elevation.text}
[/indent]PLEASE HELP!! THANKS!!