]> git.sesse.net Git - xml-template/blob - php/structure.php
Add a test for repeated t:id replacing.
[xml-template] / php / structure.php
1 <?php
2 require('xml-template.php');
3
4 $doc = XML_Template_process_file('../xml/structure.xml', array(
5         '#outer' => array(
6                 array( '#inner' => 'One' ),
7                 array( '#inner' => 'Two' ),
8                 array( '#inner' => 'Three' ),
9         )
10 ));
11 print $doc->dump_mem();
12 ?>