Template::Plugin::XML::Style 2.16 review
DownloadTemplate::Plugin::XML::Style is a Perl module for simple XML stylesheet transformations. SYNOPSIS [% USE xmlstyle
|
|
Template::Plugin::XML::Style is a Perl module for simple XML stylesheet transformations.
SYNOPSIS
[% USE xmlstyle
table = {
attributes = {
border = 0
cellpadding = 4
cellspacing = 1
}
}
%]
[% FILTER xmlstyle %]
< table >
< tr >
< td >Foo< /td > < td >Bar< /td > < td >Baz< /td >
< /tr >
< /table >
[% END %]
This plugin defines a filter for performing simple stylesheet based transformations of XML text.
Named parameters are used to define those XML elements which require transformation. These may be specified with the USE directive when the plugin is loaded and/or with the FILTER directive when the plugin is used.
Requirements:
Perl
Template::Plugin::XML::Style 2.16 keywords