@Override public void removeAttributeNS(String namespaceURI,String localName){
  if (ownerDocument.errorChecking && isReadOnly()) {
    String msg=DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN,"NO_MODIFICATION_ALLOWED_ERR",null);
    throw new DOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR,msg);
  }
  if (needsSyncData()) {
    synchronizeData();
  }
  if (attributes == null) {
    return;
  }
  attributes.safeRemoveNamedItemNS(namespaceURI,localName);
}

@ Override public void removeAttributeNS ( String namespaceURI , String localName ) { if ( ownerDocument . errorChecking && isReadOnly ( ) ) { String msg = DOMMessageFormatter . formatMessage ( DOMMessageFormatter . DOM_DOMAIN , "NO_MODIFICATION_ALLOWED_ERR" , null ) ; throw new DOMException ( DOMException . NO_MODIFICATION_ALLOWED_ERR , msg ) ; } if ( needsSyncData ( ) ) { synchronizeData ( ) ; } if ( attributes == null ) { return ; } attributes . safeRemoveNamedItemNS ( namespaceURI , localName ) ; }
introduced in dom level 2 . < p > < p / > removes an attribute by local name and namespace uri . if the removed attribute has a default value it is immediately replaced . the replacing attribute has the same namespace uri and local name , as well as the original prefix . < p >
