NAME

XML::XOXO::Parser - A parser for Extensible Open XHTML Outlines (XOXO) markup.

METHODS

The following objects and methods are provided in this package.

XML::XOXO::Parser->new

Constructor. Returns a reference to a new XML::XOXO::Parser object.

$parser->parse(source)

Inherited from XML::Parser, the SOURCE parameter should either open an IO::Handle or a string containing the whole XML document. A die call is thrown if a parse error occurs otherwise it will return an ARRAY of XML::XOXO::Node root objects.

$parser->parsefile(file)

Inherited from XML::Parser, FILE is an open handle. The file is closed no matter how parse returns. A die call is thrown if a parse error occurs otherwise it will return an ARRAY of XML::XOXO::Node root objects.

DEPENDENCIES

XML::Parser, Class::XPath 1.4

TO DO

  • Handle embedded XOXO in an XHTML document

  • Implement strict mode

AUTHOR & COPYRIGHT

Please see the XML::XOXO manpage for author, copyright, and license information.

4 POD Errors

The following errors were encountered while parsing the POD:

Around line 185:

=begin without a target?

Around line 195:

'=item' outside of any '=over'

Around line 213:

You forgot a '=back' before '=head1'

Around line 234:

'=end' without a target?