NAME

Apache::AxKit::Provider::XMLDOMProvider - AxKit Provider for remote XML-DOMs available via HTTP

SYNOPSIS

AxContentProvider Apache::AxKit::Provider::XMLDOMProvider
PerlSetVar RemoteXML "http://www.example.com/xmlfile.xml"
PerlSetVar RemoteXMLmTimeElement "mdate"

DESCRIPTION

Apache::AxKit::Provider::XMLDOMProvider allows for local transformation of remote XML-Files available via HTTP. The remote XML-file for local processing can be specified in the Apache::AxKit configuration. Additionally, an element holding adequate modification time information can be provided via the Apache::AxKit configuration. This Apache::AxKit-Provider is very useful for local processing of dynamically generated XML-DOMs available via a Web-server, especially if one needs to pass specific query parameters to it.

The URI of the remote XML-file is specified with the RemoteXML variable. RemoteXMLmTimeElement should hold the name of the XML-Element which contains date information when the remote XML-file was last modified (format "YYYY-MM-DD hh:mm"; e.g. "2007-07-15 16:20"). Is the element specifying the modification time not present, the remote XML-file will not be cached and hence fetched for each request. This module uses LWP::UserAgent to get remote XML-files.

EXPORT

All by default.

SEE ALSO

Apache::AxKit (http://www.axkit.org)

AUTHOR

Severin Gehwolf, <Severin.Gehwolf@uibk.ac.at>

COPYRIGHT AND LICENSE

Copyright (C) 2007 by Severin Gehwolf

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.