X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=php5-swig%2Fattribute3.php;fp=php5-swig%2Fattribute3.php;h=8b84e7da6b520b5948640c1f78af4b7040579ec5;hb=933565bfd7b14e26bf9dbc2afc7271e28ec34398;hp=0000000000000000000000000000000000000000;hpb=015976d7d24ac1ae6deb474b9d70e5703f54f449;p=xml-template diff --git a/php5-swig/attribute3.php b/php5-swig/attribute3.php new file mode 100644 index 0000000..8b84e7d --- /dev/null +++ b/php5-swig/attribute3.php @@ -0,0 +1,15 @@ + 'blue', + '#things' => XML_Template_alternate('li/class', array( + array( 'li' => 'Raindrops on roses' ), + array( 'li' => 'Whiskers on kittens' ), + NULL, + array( 'li' => 'Bright copper kettles' ), + array( 'li' => 'Warm, woolen mittens' ), + ), array('odd', 'even')) +), true); +output_to_fd_and_free($doc, 1); +?>