![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
14/10/2010, 09:15
|
| | Fecha de Ingreso: septiembre-2006
Mensajes: 116
Antigüedad: 18 años, 5 meses Puntos: 1 | |
pasar de xml a php hola foreros.... estoy haciendo un banner donde la infoamcion la tomo de un xml...
como puedo almacenar la informacion de mi xml en una vectos o lista???? que creo que es lo mas adecuado...
les mando mi xml
<?xml version="1.0" encoding="iso-8859-1"?>
<banners>
<formats>
<format1>
<category>
<name>art_entertaiment</name>
<imageParth>C:\wamp\www\Banner rotation\imagen\Categories\art_entertainment\image n\everythingfood_160x600_final</imageParth>
</url>www.google.com</url>
</category>
</format1>
<format2>
<category>
<name>art_entertaiment</name>
<imageParth>C:\wamp\www\Banner rotation\imagen\Categories\art_entertainment\image n\everythingfood_480x60_final</imageParth>
</url>www.google.com</url>
</category>
</format2>
<format3>
<category>
<name>art_entertaiment</name>
<imageParth>C:\wamp\www\Banner rotation\imagen\Categories\art_entertainment\image n\everythingfood_728x90_final</imageParth>
</url>www.google.com</url>
</category>
</format3>
</formats>
</banners>
quiero poder tener las cosas de format 1 en un lado (vector o lista) luego las de format 2... y asi sucesivamente
gracias por la ayuda |