PHP Manual
DOMNode->removeChild()
(no version information, might be only in CVS)
DOMNode->removeChild() -- Removes child from list of childrenDescription
class DOMNode {DOMNode removeChild ( DOMNode oldnode )
}
This functions removes a child from a list of children.
Errors/Exceptions
- DOM_NO_MODIFICATION_ALLOWED_ERR
Raised if this node is readonly.
- DOM_NOT_FOUND
Raised if
oldnodeis not a child of this node.
Examples
The following example will delete the chapter element of our XML document.
Support PHPRO.ORG
Search
PHPRO.ORG Poll
Warning: Participation in PHPRO.ORG polls may incorrectly lead you to believe your opinions matter.

RSS Feed




