HTML::HTML5::Builder::Document - pretty trivial subclass of XML::LibXML::Document
Contents
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.
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
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.
perl v5.38.2 2024-03-05 HTML::HTML5::Builder::Document(3pm)
Name
HTML::HTML5::Builder::Document - pretty trivial subclass of XML::LibXML::Document
See Also
HTML::HTML5::Builder, XML::LibXML::Document.
