X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=php5-swig%2Fattribute2.php;h=8d6c99bd5577017b7e639988cf243a3771aaa1ee;hb=f5af96eb727899f04c322640ee36028441c29ec9;hp=95a6970bd19c0cb376085f908dfe67ad3653553a;hpb=c00c787ebcd86ec94285b708db96a20286e57ab0;p=xml-template diff --git a/php5-swig/attribute2.php b/php5-swig/attribute2.php index 95a6970..8d6c99b 100644 --- a/php5-swig/attribute2.php +++ b/php5-swig/attribute2.php @@ -10,5 +10,5 @@ $doc = XML_Template_process_file('../xml/clone.xml', array( array( 'li' => 'Warm, woolen mittens' ), ), array('odd', 'even')) ), true); -output_to_fd($doc, 1); +print XML_Template_convert_doc_to_string($doc); ?>