X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=php5-swig%2Fattribute-empty.php;h=ce4e532ecfdc716789ccbc4888cbe247ae52cf35;hb=f5af96eb727899f04c322640ee36028441c29ec9;hp=ba4941ec384e0101fa3af5b623749813fc2aa3e4;hpb=c00c787ebcd86ec94285b708db96a20286e57ab0;p=xml-template diff --git a/php5-swig/attribute-empty.php b/php5-swig/attribute-empty.php index ba4941e..ce4e532 100644 --- a/php5-swig/attribute-empty.php +++ b/php5-swig/attribute-empty.php @@ -8,5 +8,5 @@ $doc = XML_Template_process_file('../xml/clone.xml', array( 'color' => 'blue', '#things' => array(NULL) ), true); -output_to_fd($doc, 1); +print XML_Template_convert_doc_to_string($doc); ?>