<yweather:location city="Ushuaia" region="" country="AR"/>
<yweather:units temperature="C" distance="km" pressure="mb" speed="kph"/>
<yweather:wind chill="2" direction="0" speed="0"/>
<yweather:atmosphere humidity="70" visibility="9.99" pressure="0" rising="0"/>
<yweather:astronomy sunrise="9:59 am" sunset="5:11 pm"/>
Sí desde flash (AS3), hago lo siguiente:
Código :
function parseXML(weather:XML):void {
trace("XML Output");
trace("------------------------");
trace(weather.channel);
}
Sale, como se espera, el contenido de <channel>. Pero si ahora,
Código :
function parseXML(weather:XML):void {
trace("XML Output");
trace("------------------------");
trace(weather.channel.yweather:wind);
}
1084: Error de sintaxis: se esperaba rightparen antes de colon.
Entonces, ¿cómo puedo obtener los datos de las tags <yweather>?
Gracias!
