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