James G Smith > Gestinanna-0.02 > Apache::AxKit::LibXMLSupport

Download:
Gestinanna-0.02.tar.gz

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

Apache::AxKit::LibXMLSupport - XML::LibXML support routines

SYNOPSIS ^

  require Apache::AxKit::LibXMLSupport;
  Apache::AxKit::LibXMLSupport->setup_libxml();

DESCRIPTION ^

This module sets up some things for using XML::LibXML in AxKit. Specifically this is to do with callbacks. All callbacks look pretty much the same in AxKit, so this module makes them editable in one place.

API ^

There is just one method: Apache::AxKit::LibXMLSupport->setup_libxml().

You can pass a parameter, in which case it is a callback to create a provider given a $r (an Apache request object). This is so that you can create the provider in different ways and register the fact that it was created. If you don't provide a callback though a default one will be provided.