in the past I loaded the xmlfile with <station></station>
Tags and did a foreach loop like this
foreach ( $xml->station as $item )
{
...
}>
Now I got a new structure like this and it doesn't work anymore. Can you help me, please?
<stations>
<station id="1" name="Raumschiff1" strasse="Musterstrasse 1" plz="11011" ort="Berlin" lat="50.77548" lng="6.08147" operator="NEO" telefon="0800 MATRIX" zugang="ZION"/>
<station id="2" name="Raumschiff1" strasse="Musterstrasse 1" plz="11011" ort="Berlin" lat="50.77548" lng="6.08147" operator="NEO" telefon="0800 MATRIX" zugang="ZION"/>
</stations>
Thanks a lot in advance! :-)