Tema: DOM xml
Ver Mensaje Individual
  #7 (permalink)  
Antiguo 19/12/2002, 17:37
Avatar de chubu
chubu
 
Fecha de Ingreso: enero-2002
Ubicación: Buenos Aires
Mensajes: 133
Antigüedad: 22 años, 2 meses
Puntos: 0
logré el resultado esperado del script con este codigo:

Código PHP:
<?
$theXML 
"<?xml version='1.0'?>";
$theXML .= " <website><url>";
$theXML .= " ttp://www.devarticles.com";
$theXML .= " </url></website>";

$xmlDoc domxml_xmltree($theXML);
$website $xmlDoc->first_child();
$url $website->first_child();
$texto $url->first_child();

echo 
$texto->get_content();
?>
como veran cambiaron bastante la funcionalidad

saludos

chubu
__________________
:pensando:hay algo mal que no anda bien