Documentation
removeAttribute
usage
xmlNode->removeAttribute( string name )
paramètres
name : the name of attribute you want to remove
Removes an attribute
exemples
$result = query($NQL);
$xml = new XML($result);
$media = $xml->getElement("/RESPONSE/RESULTS/MEDIA[1]");
$media->removeAttribute("ID");