Mailinglisten-Archive |
Hallo Guenther,
12.09.2002 you wrote:
> Moin allerseits,
> ich brauch mal kurz einen Tritt in die richtige Richtung...
> Gegeben ist eine XML-Datei in folgendem Format:
> <ATTRIBUTE ID="foo">
> <NAME>abc</NAME>
> <VALUE>xyz</VALUE>
> </ATTRIBUTE>
> Jetzt möchte ich mit Hilfe von PHP in etwa folgendes realisieren:
> $res = werte("foo");
> Ergebnis soll sein:
> $res[NAME] = "abc";
> $res[VALUE] = "xyz";
> Wie stell ich das denn am schlauesten an?
> Das richtige Stichwort zum googlen reicht schon, die Suche nach "PHP +
> XML" brachte etwas viele Treffer... ;-)
Vielleicht bringt dich php.net/xml weiter?
Friedhelm
php::bar PHP Wiki - Listenarchive