X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=php5-swig%2Fattribute3.php;fp=php5-swig%2Fattribute3.php;h=1262a906b897aa8f82b3b5830f25cb559ae546e6;hb=f5af96eb727899f04c322640ee36028441c29ec9;hp=74920fd72172d67279d7993d5f91b7b7263c50a4;hpb=c00c787ebcd86ec94285b708db96a20286e57ab0;p=xml-template diff --git a/php5-swig/attribute3.php b/php5-swig/attribute3.php index 74920fd..1262a90 100644 --- a/php5-swig/attribute3.php +++ b/php5-swig/attribute3.php @@ -11,5 +11,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); ?>