OpenFrame::Slot::XSLT - performs XSL transforms on XML documents
# see examples for slot usage
The OpenFrame::Slot::XSLT slot takes a XML::LibXML::Document object and performs a stylesheet transform on it. It selects the stylesheet by matching a pattern set in the slot configuration against the URL. If successful it places an OpenFrame::AbstractResponse object on the slot stack.
OpenFrame::Slot::XSLT
The slot configuration should look similar to the following:
% dispatch => Local name => OpenFrame::Slot::XSLT config => % stylesheets => @ % pattern => '/xmldocuments/', stylesheet => '/usr/local/stylesheets/generic.xsl' % pattern => '/some/pattern/to/match', stylesheet => '/some/path/to/a/stylesheet/to/use.xsl',
James A. Duncan <jduncan@fotango.com>
OpenFrame::Slot, XML::LibXML, XML::LibXSLT
OpenFrame::Slot
XML::LibXML
XML::LibXSLT
Copyright (C) 2001, Fotango Ltd.
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
To install OpenFrame, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenFrame
CPAN shell
perl -MCPAN -e shell install OpenFrame
For more information on module installation, please visit the detailed CPAN module installation guide.