E' evidente che il simpleXml ha dei seri problemi con i namespaces.

C'e' un modo orrendo ma veloce che e' quello di fare un replace string di yweather: con
tipo yweather cosi elimini lo space name e dopo hai dei campi cosi

<yweatherlocation city="Cuneo" region="" country="IT"/>
<yweatherunits temperature="C" distance="km" pressure="mb" speed="kph"/>
<yweatherwind chill="19" direction="230" speed="8.05" />
<yweatheratmosphere humidity="88" visibility="9.99" pressure="0" rising="0" />
<yweatherastronomy sunrise="6:22 am" sunset="8:49 pm"/>


Un altro piu elegante e corretto e' quello di usare le librerie DOM al posto del simpleXml

Andrea