X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=perl%2Fattribute-empty.pl;h=f1fbc30cd0206734f5df8ad8d5c2e68f6d1aadb8;hb=1725768e2eaf68a1445f1aef9d95da0bf461e88b;hp=2183a405255f9d9c99cdfc402d33361649451c54;hpb=8829a2755096b018531a1d939e61b6a75d3be8a7;p=xml-template diff --git a/perl/attribute-empty.pl b/perl/attribute-empty.pl index 2183a40..f1fbc30 100644 --- a/perl/attribute-empty.pl +++ b/perl/attribute-empty.pl @@ -3,7 +3,6 @@ use XML::Template; my $doc = XML::Template::process_file('../xml/clone.xml', { 'color' => 'blue', - '#things' => XML::Template::alternate('li/class', [ - ], 'odd', 'even') + '#things' => [] }); print $doc->toString;