Ver Mensaje Individual
  #3 (permalink)  
Antiguo 09/06/2010, 09:20
Avatar de wiwi74
wiwi74
 
Fecha de Ingreso: marzo-2008
Mensajes: 515
Antigüedad: 16 años, 2 meses
Puntos: 10
Respuesta: Datos fichero xml

Esto te leeria el contenido de un xml:

Código PHP:

$theXML 
"fichero.xml";

//abrir archivo xml
$xml simplexml_load_file($theXML);

/*
echo "<pre>";
var_dump($xml);
echo "</pre>";
*/

foreach($xml -> children() as $child){
echo 
$child."<br />";

Busca info sobre simplexml_load_file()