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