note 37159 added to function.domdocument-add-root

From: Date: Wed, 05 Nov 2003 12:16:42 +0000
Subject: note 37159 added to function.domdocument-add-root
Groups: php.notes 
Request: Send a blank email to php-notes+get-59932@lists.php.net to get a copy of this message
For those not closely reading the documentation (like me), this is an example of adding a root without add_root. $new_dom = domxml_new_doc("1.0"); $new_element = $newdom->create_element("root_el"); $new_node = $newdom->append_child($new_element); ---- Manual Page -- http://www.php.net/manual/en/function.domdocument-add-root.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37159 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37159&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37159&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#59932) next »