Simon Cozens > Template-Plugin-XSLT-1.1 > Template::Plugin::XSLT

Download:
Template-Plugin-XSLT-1.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 1.1   Source   Latest Release: Template-Plugin-XSLT-1.2

NAME ^

Template::Plugin::XSLT - Transform XML fragments into something else

SYNOPSIS ^

    [% USE transform = XSLT("stylesheet.xsl"); %]
    ...
    [% foo.as_xml | $transform foo = '"bar"' baz = 123 %]

DESCRIPTION ^

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.

You can pass parameters to the stylesheet as configuration parameters to the filter.

AUTHOR ^

Simon Cozens, simon@cpan.org

SEE ALSO ^

Template, XML::LibXSLT.