logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Toby Inkster <tobyink@cpan.org>.

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.

See Also