(PHP 4 >= 4.0.0)

domxml_new_child --  Adds new child node


resource domxml_new_child (string name, string content)


This function is EXPERIMENTAL. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.

Adds a new child of type element to a node and returns it.