|
|
Apache::AxKit::LibXMLSupport - XML::LibXML support routines
require Apache::AxKit::LibXMLSupport; Apache::AxKit::LibXMLSupport->setup_libxml();
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.
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.