Re: Interpretar XML
| From: | Gran Causa | Date: | Sat, 16 Apr 2005 14:33:06 +0000 |
| Subject: | Re: Interpretar XML | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-54206@lists.php.net to get a copy of this message | ||
--- Amador Cubino <acubino3@necostek.com> wrote:
> Tengo que interpretar unas paginas XML de este tipo
>
> <?xml version="1.0">
> <response>
> <status>OK</status>
> <value name="nombre1">valor1</value>
> <value name="nombre2">valor2</value>
> ...
> </response>
>
>
> Entonces me he preguntado, cual sera la forma correcta y no chapuza de
> interpretar esto?, porque con strpos y demas creo que no seria muy
> fiable ni correcto.
RTFM: http://es.php.net/manual/en/function.xml-parse-into-struct.php