Revision: 68
Author: matt
Date: 2006-08-09 22:21:48 +0000 (Wed, 09 Aug 2006)
Log Message:
-----------
Support multiple XSLTs listed on XSLT_Style config line
Modified Paths:
--------------
trunk/plugins/demo/serve_xslt
Modified: trunk/plugins/demo/serve_xslt
===================================================================
--- trunk/plugins/demo/serve_xslt 2006-08-09 03:05:36 UTC (rev 67)
+++ trunk/plugins/demo/serve_xslt 2006-08-09 22:21:48 UTC (rev 68)
@@ -11,7 +11,7 @@
my ($self, $conf) = (shift, shift);
my $key = $self->plugin_name . '::stylesheet';
- @_ and $conf->notes($key, shift);
+ @_ and $conf->notes($key, [EMAIL PROTECTED]);
$conf->notes($key);
}
@@ -36,7 +36,7 @@
my $stylefile = $self->xslt_stylesheet($self->config);
- my $out = $input->transform(XSLT($stylefile));
+ my $out = $input->transform(map XSLT($_), @$stylefile);
return OK, $out;
-}
\ No newline at end of file
+}