]> git.sesse.net Git - xml-template/blobdiff - perl/attribute2.pl
Add a proper wrapper for php5-swig, which also makes attribute[23] pass. All tests...
[xml-template] / perl / attribute2.pl
index 2557d3315f7ffa75c201055a477504d0c89641df..832398e057b9fd308c532590a0f46c90c1560758 100644 (file)
@@ -3,7 +3,7 @@ use XML::Template;
 
 my $doc = XML::Template::process_file('../xml/clone.xml', {
        'color' => 'blue',
-       '#things' => XML::Template::alternate('li.class', [
+       '#things' => XML::Template::alternate('li/class', [
                { 'li' => 'Raindrops on roses' },
                { 'li' => 'Whiskers on kittens' },
                { 'li' => 'Bright copper kettles' },