]> git.sesse.net Git - xml-template/blob - php5-swig/structure.php
Add a proper wrapper for php5-swig, which also makes attribute[23] pass. All tests...
[xml-template] / php5-swig / structure.php
1 <?php
2 include("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 ), true);
11 output_to_fd($doc, 1);
12 ?>