It appears that autogenerated xmlns attributes cannot be removed. Attempting to use <?php $node->removeAttribute("xmlns"); ?> returns false.
![]() |
|
||||||||||
|
DOMElement->removeAttribute()Описаниеclass DOMElement {bool removeAttribute ( string name ) }
Removes attribute named Возвращаемые значенияВозвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки. DOMElement->removeAttribute()
saltymeat at hotmail dot com
22-Feb-2007 06:32
It appears that autogenerated xmlns attributes cannot be removed. Attempting to use <?php $node->removeAttribute("xmlns"); ?> returns false.
|