X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=php7-swig%2Fattribute.php;fp=php7-swig%2Fattribute.php;h=8087dc7adfce9229b75b9a3e7a8d4b1d89ef8163;hb=3c53a0b7306711683492be3bd0c84bcb92902d4f;hp=0000000000000000000000000000000000000000;hpb=7d1da52761b9ec9747c4400609658a379a34392c;p=xml-template diff --git a/php7-swig/attribute.php b/php7-swig/attribute.php new file mode 100644 index 0000000..8087dc7 --- /dev/null +++ b/php7-swig/attribute.php @@ -0,0 +1,14 @@ + 'red', + '#things' => array( + array( 'li' => 'Raindrops on roses', 'li/class' => 'odd' ), + array( 'li' => 'Whiskers on kittens', 'li/class' => 'even' ), + array( 'li' => 'Bright copper kettles', 'li/class' => 'odd' ), + array( 'li' => 'Warm, woolen mittens', 'li/class' => 'even' ) + ) +), true); +print XML_Template_convert_doc_to_string($doc); +?>