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