creating nodes
Output of domcreatemethods.php:
<?xml version="1.0"?> <root foo="bar"><namespaced xmlns="http://foo/bar"/> Hello World <![CDATA[cdata with < and ' and > ]]>&auml;<?php time();?></root> <!--this is a comment-->
 
Reading HTML Documents with DOM © copyright 2004  Bitflux GmbH