]> git.sesse.net Git - xml-template/commitdiff
Add perl-sax/attribute-empty test, works directly. All tests pass!
authorsgunderson@bigfoot.com <>
Thu, 1 Mar 2007 12:51:51 +0000 (13:51 +0100)
committersgunderson@bigfoot.com <>
Thu, 1 Mar 2007 12:51:51 +0000 (13:51 +0100)
perl-sax/attribute-empty.pl [new file with mode: 0644]

diff --git a/perl-sax/attribute-empty.pl b/perl-sax/attribute-empty.pl
new file mode 100644 (file)
index 0000000..5c87bd4
--- /dev/null
@@ -0,0 +1,8 @@
+#! /usr/bin/perl
+use XML::TemplateSAX;
+
+my $doc = XML::TemplateSAX::process_file('../xml/clone.xml', {
+       'color' => 'blue',
+       '#things' => []
+});
+print $doc;