• User

    Leggere documento XML su più figli

    Ciao a tutti, avrei la necessita di estrarre i dati da un foglio xml contenete queste dati
    [PHP]
    <weatherdata>
    <forecast>
    <tabular>
    <time from="2013-03-06T20:00:00" to="2013-03-06T21:00:00">
    <symbol number="1" name="Fair" var="mf/01n.80"/>
    <precipitation value="0"/>
    <windDirection deg="347.3" code="NNW" name="North-northwest"/>
    <windSpeed mps="5.1" name="Gentle breeze"/>
    <temperature unit="celsius" value="2"/>
    <pressure unit="hPa" value="1009.3"/>
    </time>
    <time from="2013-03-06T21:00:00" to="2013-03-06T22:00:00">
    <symbol number="1" name="Fair" var="mf/01n.80"/>
    <precipitation value="0"/>
    <windDirection deg="26.5" code="NNE" name="North-northeast"/>
    <windSpeed mps="5.9" name="Moderate breeze"/>
    <temperature unit="celsius" value="1"/>
    <pressure unit="hPa" value="1010.0"/>
    </time>
    <tabular>
    <forecast>
    <weatherdata>
    [/PHP]

    qualcuno può aiutarmi a poterli estrapolare ?
    Grazie in anticipo