NAME
XML::Filter::Moose - A Moose-ified base class for XML::SAX
VERSION
version 0.15
SYNOPSIS
package MyFilter;
use Moose
extends qw(XML::SAX::Base);
augment start_element => start {
my ($self, $el) = @_;
$el->{Data} = [do something];
};
DESCRIPTION
The XML::Filter::Moose class implements ...
ATTRIBUTES
stack - ArrayRef
text - Str
METHODS
root()
Returns the root element, or the first element in the stack
current_element()
Insert description of subroutine here...
is_root()
Return true if we are currently working on the root element.
parent_element()
Returns the parent of the current element.
start_document($document)
Fires at the start of the document.
start_element($element)
Fires at the start of an element.
characters($element)
Fires at the start of a text node.
end_element($element)
Fires at the end of an element.
end_document($document)
Fires at the end of a document.
DEPENDENCIES
BUGS AND LIMITATIONS
Please report any bugs or feature requests to bug-xml-toolkit@rt.cpan.org
, or through the web interface at http://rt.cpan.org.
AUTHOR
Chris Prather (chris@prather.org)
Based upon XML::SAX::Base
Kip Hampton (khampton@totalcinema.com)
Robin Berjon (robin@knowscape.com)
Matt Sergeant (matt@sergeant.org)
LICENCE
Copyright 2009 by Chris Prather.
This software is free. It is licensed under the same terms as Perl itself.