Apache::AxKit::StyleChooser::FileSuffix(3pm)

Apache::AxKit::StyleChooser::FileSuffix3pm

Choose stylesheet using file suffix

Usage

        PerlTypeHandler Apache::AxKit::StyleChooser::FileSuffix
        SetHandler AxKit

Overview

This module lets you pick a stylesheet based on the filename suffix. To use it, simply add this module to the list of PerlTypeHandlers:

        PerlTypeHandler Apache::AxKit::StyleChooser::FileSuffix
        SetHandler AxKit

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.

Note that this installation is different from the other StyleChoosers, because the file we're requesting here doesn't actually exist.

Thanks to Salve J. Nilsen <[email protected]> for this module.

Releases

2 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0
  2. 3.1

From axkit 1.6.2-3 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.