<?php
require('xml-template.php');
+# NULL values are ignored, but having one helps pointing out that
+# the array given is non-associative
+
$doc = XML_Template_process_file('../xml/clone.xml', array(
'color' => 'blue',
- '#things' => '' # no better way to do it, I'm afraid
+ '#things' => array(NULL)
));
print $doc->dump_mem();
?>