|
DOMElement::replaceWithReplaces the element with new nodes Description
public void DOMElement::replaceWith(DOMNodestring
...$nodes )
Replaces the element with new Parameters
Return ValuesNo value is returned. Errors/Exceptions
Changelog
ExamplesExample #1 DOMElement::replaceWith example Replaces the element with new nodes.
The above example will output: <?xml version="1.0"?> <container>beautiful<world/></container> See Also
|