Ändert zwar auch nichts, aber wahrscheinlich hab ich auch noch einen Fehler fabriziert.
Wenn die XML Datei so aussieht:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<system>
<content timestamp_de="2009-04-16 09:56:56.74">
<published>2009.02.18T00:00:00</published>
<name>Produkt 1</name>
<bestnr>54654</bestnr>
<groesse>56x89x98</groesse>
<euro>2005</euro>
<thumbpic>os_thumbbild_01.jpg</thumbpic>
<pic>os_produktbild_01.jpg</pic>
<bigpic>os_musterbild_01.jpg</bigpic>
<text>Produktbeschreibung</text>
<preis>1535</preis>
</content>
<content timestamp_de="2009-04-16 09:56:56.74">
<published>2009.02.18T00:00:00</published>
<name>Produkt 1</name>
<bestnr>54654</bestnr>
<groesse>56x89x98</groesse>
<euro>2005</euro>
<thumbpic>os_thumbbild_01.jpg</thumbpic>
<pic>os_produktbild_01.jpg</pic>
<bigpic>os_musterbild_01.jpg</bigpic>
<text>Produktbeschreibung</text>
<preis>1535</preis>
</content>
...
</system>
müsste es dann nicht
PHP-Code:
foreach($xml->system->content as $content)
heissen?
Viele Grüße
Mario