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


Template-Plugin-XSLT documentation  | view source Contained in the Template-Plugin-XSLT distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

DESCRIPTION

Top

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

Top

Oringally by Simon Cozens, simon@cpan.org

Maintained by Scott Penrose, scott@cpan.org

SEE ALSO

Top

Template, XML::LibXSLT.


Template-Plugin-XSLT documentation  | view source Contained in the Template-Plugin-XSLT distribution.