Ver Mensaje Individual
  #3 (permalink)  
Antiguo 25/10/2009, 15:38
Avatar de jcfigueroa
jcfigueroa
 
Fecha de Ingreso: julio-2009
Ubicación: Es relativo!!!
Mensajes: 13
Antigüedad: 14 años, 10 meses
Puntos: 0
Respuesta: Problema con SimpleXML en PHP

El texto que me arroja el var_dump es el siguiente:

Cita:
object(SimpleXMLElement)#1 (1) { ["CD"]=> array(3) { [0]=> object(SimpleXMLElement)#2 (5) { ["TITULO"]=> string(10) "Tinta roja" ["ARTISTA"]=> string(15) "Andres Calamaro" ["ORIGEN"]=> string(2) "AR" ["PRECIO"]=> string(4) "5.90" ["ANO"]=> string(4) "2006" } [1]=> object(SimpleXMLElement)#3 (5) { ["TITULO"]=> string(17) "La Lengua Popular" ["ARTISTA"]=> string(15) "Andres Calamaro" ["ORIGEN"]=> string(2) "AR" ["PRECIO"]=> string(4) "9.90" ["ANO"]=> string(4) "2007" } [2]=> object(SimpleXMLElement)#4 (5) { ["TITULO"]=> string(13) "rock and roll" ["ARTISTA"]=> string(17) "Avenged Sevenfolg" ["ORIGEN"]=> string(3) "CAL" ["PRECIO"]=> string(5) "15.90" ["ANO"]=> string(4) "2008" } } }
este es el contenido de "catalogo.xml",
es lo que quiero mostrar el problemas es que no se otra forma de mostrar el arreglo