]> git.sesse.net Git - xml-template/blob - php4/attribute-empty.php
In php5-swig, replace the output_by_fd() hack with a function that allows conversion...
[xml-template] / php4 / attribute-empty.php
1 <?php
2 require('xml-template.php');
3
4 # NULL values are ignored, but having one helps pointing out that
5 # the array given is non-associative
6
7 $doc = XML_Template_process_file('../xml/clone.xml', array(
8         'color' => 'blue',
9         '#things' => array(NULL)
10 ));
11 print $doc->dump_mem();
12 ?>