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

NAME

Apache::AxKit::StyleChooser::PathInfo - Choose stylesheet using PATH_INFO

SYNOPSIS

  AxAddPlugin Apache::AxKit::StyleChooser::PathInfo

DESCRIPTION

This module lets you pick a stylesheet based on the extra PATH_INFO. To use it, simply add this module as an AxKit plugin that will be run before main AxKit processing is done.

  AxAddPlugin Apache::AxKit::StyleChooser::PathInfo  

Then simply by referencing your xml files as follows:

   http://xml.server.com/myfile.xml/printable

You will recieve the alternate stylesheets with title "printable". See the HTML 4.0 specification for more details on stylesheet choice.

See the AxStyleName AxKit configuration directive for more information on how to setup named styles.

SEE ALSO

AxKit.