X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=perl%2Fattribute2.pl;h=832398e057b9fd308c532590a0f46c90c1560758;hb=933565bfd7b14e26bf9dbc2afc7271e28ec34398;hp=2557d3315f7ffa75c201055a477504d0c89641df;hpb=0ab1206b77606af6714e14f4088bef28f89733d5;p=xml-template diff --git a/perl/attribute2.pl b/perl/attribute2.pl index 2557d33..832398e 100644 --- a/perl/attribute2.pl +++ b/perl/attribute2.pl @@ -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' },