Apache::AxKit::Language::SAXMachines 1.6.2 review
DownloadApache::AxKit::Language::SAXMachines is a Perl module that can transform Content With SAX Filters. SYNOPSIS # add the style
|
|
Apache::AxKit::Language::SAXMachines is a Perl module that can transform Content With SAX Filters.
SYNOPSIS
# add the style processor mapping
AxAddStyleMap application/x-saxmachines Apache::AxKit::Language::SAXMachines
# add the processor
AxAddProcessor application/x-saxmachines .
# create a simple filter chain
PerlSetVar AxSAXMachineFilters "XML::Filter1 XML::Filter2"
# filter set-up via a controller class
PerlSetVar AxSAXMachineClass "Custom::MachineBuilderClass"
Language::SAXMachines provides an easy way ( via Barrie Slaymaker's XML::SAX::Machines ) to use SAX filter chains to transform XML content.
It is not technically a "language" in the same sense that XSP, XPathScript, or XSLT are since there is no stylesheet to write or process. Instead, the SAX filters are added via config directives in your .htaccess or *.conf file.
( Note, future versions may add an associated XML application grammar that may be used to define/configure the filter chain, but rushing forward to that is Truly Bad Idea(tm) for a number of reasons ).
The configuration directives that are required or recognized by Language::SAXMachines are detailed below.
Requirements:
Perl
Apache::AxKit::Language::SAXMachines 1.6.2 search tags