The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

  OpenFrame::Slot::XSLT - performs XSL transforms on XML documents

SYNOPSIS

  # see examples for slot usage

DESCRIPTION

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::Response object on the slot stack.

CONFIGURATION

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',

AUTHOR

James A. Duncan <jduncan@fotango.com>

SEE ALSO

OpenFrame::Slot, XML::LibXML, XML::LibXSLT

COPYRIGHT

Copyright (C) 2001-2, Fotango Ltd.

This module is free software; you can redistribute it or modify it under the same terms as Perl itself.