Matt Sergeant > AxKit > Apache::AxKit::StyleChooser::QueryString

Download:
AxKit-1.6.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  15
Open  4
View/Report Bugs
Source   Latest Release: AxKit-1.6.2

NAME ^

Apache::AxKit::StyleChooser::QueryString - Choose stylesheet using querystring

SYNOPSIS ^

        PerlHandler Apache::AxKit::StyleChooser::QueryString \
                        AxKit

DESCRIPTION ^

This module lets you pick a stylesheet based on the querystring. To use it, simply add this module to the list of PerlHandlers prior to the main AxKit handler:

        PerlHandler Apache::AxKit::StyleChooser::QueryString \
                        AxKit

Then simply by referencing your xml files as follows:

        http://xml.server.com/myfile.xml?style=printable

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

syntax highlighting: