Ver Mensaje Individual
  #5 (permalink)  
Antiguo 16/04/2014, 14:38
Avatar de omar_gutierrez
omar_gutierrez
 
Fecha de Ingreso: febrero-2011
Mensajes: 144
Antigüedad: 13 años, 2 meses
Puntos: 2
Respuesta: modificar un xml existente con php

Cita:
Iniciado por Artificium Ver Mensaje
Pon tu código.
este es el intento que estoy realizando actualmente

Código PHP:
$xml = new DOMDocument();
$xml->load('miruta.xml');

$xPath = new DOMXPath($xml);
$result $xPath->query("//info/video[@titulo='".$row['titulo_c']."']");
$result->item(0)->nodeValue $row['titulo'];
$xml->saveXML('miruta.xml');