Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/10/2005, 05:04
Avatar de txarly
txarly
 
Fecha de Ingreso: marzo-2003
Ubicación: Eibar (Gipuzkoa)
Mensajes: 455
Antigüedad: 22 años, 1 mes
Puntos: 2
Borrar Nodos de un XmlDocument

Como puedo borrar nodos de un XmlDocument utilizando Xpath?
Que falla aquí?

Código:
XmlNodeList oXmlNodeList = rDoc.SelectNodes("//desruta");
foreach (XmlNode oXmlnode in oXmlNodeList) { 
oXmlnode.RemoveAll();
}
Un saludo
__________________
¿Por qué Uri Geller doblaba cucharas?

Última edición por txarly; 11/10/2005 a las 09:25