Apache::AxKit::StyleChooser::QueryString - Choose stylesheet using querystring
This module lets you pick a stylesheet based on the querystring. To use it, simply add this module as an AxKit plugin that will be run before main AxKit processing is done.
By default, the key name of the name/value pair is 'style'. This can be changed by setting the variable AxStyleChooserQueryStringKey in your httpd.conf:
PerlSetVar AxStyleChooserQueryStringKey mystyle
Then simply by referencing your xml files as follows:
respectively - 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.