Documentation
removeChild
usage
xml->removeChild( string xpath )
paramètres
xpath : the path to the node you want to remove
Removes a node
exemples
$result = query($NQL);
$xml = new XML($result);
$media = $xml->getElement("/RESPONSE/RESULTS/MEDIA[1]");
$media->removeChild("INFO");