DESCRIPTION

You should hopefully not need to use this module to be able to use RDF::RDFa::Parser. It's used internally by the parser to deal with OpenDocument Format input.

This class provides a \*(C`new\*(C' constructor and \*(C`parse_file\*(C', \*(C`parse_fh\*(C' and \*(C`parse_string\*(C' methods offering rought compatibility with the parsing interface described in XML::LibXML::Parser.

It represents an OpenDocument Format 1.2 file (internally a \s-1ZIP\s0 file containing various \s-1XML\s0, \s-1RDF/XML\s0 and other files) into a single XML::LibXML::Document with a root element \*(C`od:Document\*(C'. The root element has several child elements with tag names \*(C`od:Data\*(C' and \*(C`od:Meta\*(C' which each contain a single child corresponding to the root element of (respectively) an \s-1XML\s0 or \s-1RDF/XML\s0 file found inside the \s-1ZIP\s0. (\*(C`od:Data\*(C' and \*(C`od:Meta\*(C' elements each have a \*(C`file\*(C' attribute indicating which file.) This representation is necessarily different to the \*(L"Flat \s-1XML\s0\*(R" format offered by OpenOffice - trust me.

The \*(L"od\*(R" namespace \s-1URI\s0 is http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Parser/opendocument-dom-wrapper <http://purl.org/NET/cpan-uri/dist/RDF-RDFa-Parser/opendocument-dom-wrapper>.

RELATED TO RDF::RDFa::Parser::OpenDocumentObjectModel…

RDF::RDFa::Parser.

XML::LibXML::Parser, HTML::HTML5::Parser.

AUTHOR

Toby Inkster <[email protected]>.

COPYRIGHT AND LICENCE

Copyright 2008-2012 Toby Inkster

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

DISCLAIMER OF WARRANTIES

\s-1THIS\s0 \s-1PACKAGE\s0 \s-1IS\s0 \s-1PROVIDED\s0 \*(L"\s-1AS\s0 \s-1IS\s0\*(R" \s-1AND\s0 \s-1WITHOUT\s0 \s-1ANY\s0 \s-1EXPRESS\s0 \s-1OR\s0 \s-1IMPLIED\s0 \s-1WARRANTIES\s0, \s-1INCLUDING\s0, \s-1WITHOUT\s0 \s-1LIMITATION\s0, \s-1THE\s0 \s-1IMPLIED\s0 \s-1WARRANTIES\s0 \s-1OF\s0 \s-1MERCHANTIBILITY\s0 \s-1AND\s0 \s-1FITNESS\s0 \s-1FOR\s0 A \s-1PARTICULAR\s0 \s-1PURPOSE\s0.