X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=php5-swig%2Fstructure.php;h=de2e3ab8aeffecc0108941679699c78c2f313945;hb=7d1da52761b9ec9747c4400609658a379a34392c;hp=b27a040d7697a4001df18fabcd7db32f89b3d186;hpb=ab29cf7e641eca15124acb550e4244edd6b0784a;p=xml-template diff --git a/php5-swig/structure.php b/php5-swig/structure.php index b27a040..de2e3ab 100644 --- a/php5-swig/structure.php +++ b/php5-swig/structure.php @@ -1,6 +1,6 @@ array( array( '#inner' => 'One' ), @@ -8,5 +8,5 @@ $doc = XML_Template_process_file('../xml/structure.xml', array( array( '#inner' => 'Three' ), ) ), true); -output_to_fd($doc, 1); +print XML_Template_convert_doc_to_string($doc); ?>