Toby Inkster > HTML-HTML5-Builder-0.004 > HTML::HTML5::Builder::Document

Download:
HTML-HTML5-Builder-0.004.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.004   Source  

NAME ^

HTML::HTML5::Builder::Document - pretty trivial subclass of XML::LibXML::Document

DESCRIPTION ^

HTML::HTML5::Builder::html() returns an HTML::HTML5::Builder::Document object. This inherits from XML::LibXML::Document, but overloads stringification using HTML::HTML5::Writer.

A non-exhaustive list of interesting methods provided by HTML::HTML5::Builder::Document objects:

toString - outputs XML
toStringHTML - outputs HTML
documentElement - returns the root element as an XML::LibXML::Element
findnodes - search using XPath

SEE ALSO ^

HTML::HTML5::Builder, XML::LibXML::Document.

AUTHOR ^

Toby Inkster <tobyink@cpan.org>.

COPYRIGHT AND LICENCE ^

This software is copyright (c) 2011 by 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 ^

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

syntax highlighting: