X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=php7-swig%2Finclude.php;fp=php7-swig%2Finclude.php;h=6845d50711a67b36d7bc795fc62677f0bfc65c70;hb=3c53a0b7306711683492be3bd0c84bcb92902d4f;hp=0000000000000000000000000000000000000000;hpb=7d1da52761b9ec9747c4400609658a379a34392c;p=xml-template diff --git a/php7-swig/include.php b/php7-swig/include.php new file mode 100644 index 0000000..6845d50 --- /dev/null +++ b/php7-swig/include.php @@ -0,0 +1,13 @@ + 'red' +), false); +$master = XML_Template_process_file('../xml/master.xml', array( + 'title' => 'Main HTML title', + 'h1' => 'Nice heading here', + 'contents' => $doc +), true); +print XML_Template_convert_doc_to_string($master, true); +?>