Why not adopt me?
This distribution is up for adoption!
If you're interested then please contact the PAUSE module admins via
email.
NAME
POE::Component::MXML - Perl extension for parsing Minimal XML specs
SYNOPSIS
use POE::Component::MXML;
POE::Component::MXML->spawn(
Alias => 'nested_tag_mxml',
InputHandle => '<para>open<emph>nest</emph>close</para>',
Tag => 'Tag', # Event for <tag>content</tag>
);
POE::Session->create(
inline_states => {
_start => sub { $_[KERNEL]->post('nested_tag_mxml' => 'get_tag'); },
Tag => sub {
my ($tag_type,$tag_name,$tag_contents) = @{$_[ARG1]}[0..2];
}
}
);
DESCRIPTION
MXML is a Minimalist XML, without frills such as CDATA, attributes or entities. Refer to http://www.docuverse.com/smldev/minxmlspec.html for a spec.
AUTHOR
Jeff Goff, <drforr@pobox.com>
SEE ALSO
perl(1).