]> git.sesse.net Git - xml-template/commitdiff
Hack attribute-empty.php so the test passes.
authorSteinar H. Gunderson <sesse@debian.org>
Wed, 4 Oct 2006 00:04:32 +0000 (02:04 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Wed, 4 Oct 2006 00:04:32 +0000 (02:04 +0200)
php/attribute-empty.php

index f778eda2ab6246f8eb847d6d6b959539c9e74795..e2f02338a6024bf8d96729a9b097b3bdc85ee3b2 100644 (file)
@@ -3,8 +3,7 @@ require('xml-template.php');
 
 $doc = XML_Template_process_file('../xml/clone.xml', array(
        'color' => 'blue',
-       '#things' => XML_Template_alternate('li/class', array(
-       ), array('odd', 'even'))
+       '#things' => ''             # no better way to do it, I'm afraid
 ));
 print $doc->dump_mem();
 ?>