domxml_new_child

(PHP 4 >= 4.0.0)

domxml_new_child --  Adds new child node

Description

resource domxml_new_child ( string name, string content)

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may 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.