Timothy Appnel > XML-XOXO > XML::XOXO::Parser

Download:
XML-XOXO-0.034.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

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 ^

AUTHOR & COPYRIGHT ^

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

syntax highlighting: