You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axkit-dev@xml.apache.org by ma...@sergeant.org on 2006/08/10 00:22:06 UTC
[SVN] [68] Support multiple XSLTs listed on XSLT_Style config line
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, [@_]);
$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
+}