From c862c4aba8727bc74f4b23a5128d8d0dd9bf17f9 Mon Sep 17 00:00:00 2001 From: "sgunderson@bigfoot.com" <> Date: Thu, 1 Mar 2007 12:02:45 +0100 Subject: [PATCH] Add (failing) perl-sax/clone test. --- perl-sax/clone.pl | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 perl-sax/clone.pl diff --git a/perl-sax/clone.pl b/perl-sax/clone.pl new file mode 100644 index 0000000..21cfebb --- /dev/null +++ b/perl-sax/clone.pl @@ -0,0 +1,13 @@ +#! /usr/bin/perl +use XML::TemplateSAX; + +my $doc = XML::TemplateSAX::process_file('../xml/clone.xml', { + 'color' => 'blue', + '#things' => [ + { 'li' => 'Raindrops on roses' }, + { 'li' => 'Whiskers on kittens' }, + { 'li' => 'Bright copper kettles' }, + { 'li' => 'Warm, woolen mittens'} + ] +}); +print $doc; -- 2.39.2