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

AxAddPlugin

Setting this to a module loads the module and executes the handler method of the module before any AxKit processing is done.

This allows you to set up such things as sessions, to authenticate, or to perform other actions that require no XML output, before the actual XML processing stage of AxKit.

AxAddPlugin MyAuthHandler

There is also a companion option, AxResetPlugins. Plug-in lists persist and get merged into directories, so if you want to start completely fresh, use the following:

AxResetPlugins AxAddPlugin MyFreshPlugin

As with other options that take a module, prefixing with a + sign preloads the module at compile time.

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