]> git.sesse.net Git - xml-template/blob - php/attribute-empty.php
Add PHP and Python variants of attribute-empty.
[xml-template] / php / attribute-empty.php
1 <?php
2 require('xml-template.php');
3
4 $doc = XML_Template_process_file('../xml/clone.xml', array(
5         'color' => 'blue',
6         '#things' => XML_Template_alternate('li/class', array(
7         ), array('odd', 'even'))
8 ));
9 print $doc->dump_mem();
10 ?>