O'Reilly logo

XML Publishing with AxKit by Kip Hampton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

AxAddStyleMap

This is one of the more important directives. It is responsible for mapping module stylesheet MIME types to stylesheet processor modules. (The reason you do this is to make it easy to switch out different modules for the same functionality—for example, different XSLT processors.)

AxAddStyleMap text/xsl Apache::AxKit::Language::Sablot AxAddStyleMap
            application/x-xpathscript \ Apache::AxKit::Language::XPathScript AxAddStyleMap
            application/x-xsp \ Apache::AxKit::Language::XSP

If you prefix the module name with a + sign, it preloads on server startup (assuming that the config directive is in a httpd.conf file, rather than a .htaccess file).

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required