Template::Plugin::XSLT - Transform XML fragments into something else
[% USE transform = XSLT("stylesheet.xsl"); %] ... [% foo.as_xml | $transform foo = '"bar"' baz = 123 %]
This plugin for the Template Toolkit uses XML::LibXSLT to transform a chunk of XML through a filter. If the stylesheet is not valid, or if the XML does not parse, an exception will be raised.
XML::LibXSLT
You can pass parameters to the stylesheet as configuration parameters to the filter.
Oringally by Simon Cozens, simon@cpan.org
simon@cpan.org
Maintained by Scott Penrose, scott@cpan.org
scott@cpan.org
Template, XML::LibXSLT.
To install Template::Plugin::XSLT, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Plugin::XSLT
CPAN shell
perl -MCPAN -e shell install Template::Plugin::XSLT
For more information on module installation, please visit the detailed CPAN module installation guide.