Apache::AxKit::XSP::Language::SimpleTaglib 1.6.2 review

Download
by rbytes.net on

Apache::AxKit::XSP::Language::SimpleTaglib is an alternate XSP taglib helper. SYNOPSIS package Your::XSP::Package; use

License: Perl Artistic License
File size: 298K
Developer: J?rg Walter
0 stars award from rbytes.net

Apache::AxKit::XSP::Language::SimpleTaglib is an alternate XSP taglib helper.

SYNOPSIS

package Your::XSP::Package;
use Apache::AxKit::Language::XSP::SimpleTaglib;

... more initialization stuff, start_document handler, utility functions, whatever
you like, but no parse_start/end handler needed - if in doubt, just leave empty ...

package Your::XSP::Package::Handlers;

sub some_tag : attrib(id) attribOrChild(some-param) node(result) keepWhitespace {
my ($e, $tag, %attr) = @_;
return 'do_something($attr_some_param,'.$attr{'id'}.');';
}

This taglib helper allows you to easily write tag handlers with most of the common behaviours needed. It manages all 'Design Patterns' from the XSP man page plus several other useful tag styles.

Requirements:
Perl

Apache::AxKit::XSP::Language::SimpleTaglib 1.6.2 keywords