NAME

OpenFrame::Slot::XML - parses XML documents

SYNOPSIS

# see examples for slot usage

DESCRIPTION

The OpenFrame::Slot::XML slot takes an OpenFrame::AbstractRequest object and parses the file as an XML document if the file has a filetype listed in its configuration options. It places an XML::LibXML::Document object on the slot stack.

CONFIGURATION

The slot configuration should look similar to the following:

%
  dispatch => Local
  name => OpenFrame::Slot::XML
  config => %
     filetypes => '(xml|myfiletype)'
     directory => '/my/xml/directory'

AUTHOR

James A. Duncan <jduncan@fotango.com>

SEE ALSO

OpenFrame::Slot, XML::LibXML, XML::LibXSLT

COPYRIGHT

Copyright (C) 2001, Fotango Ltd.

This module is free software; you can redistribute it or modify it under the same terms as Perl itself.