XML::LibXML::Comment
Section: User Contributed Perl Documentation (3pm)Updated: 2017-11-10
Index Return to Main Contents
NAME
XML::LibXML::Comment - XML::LibXML Comment ClassSYNOPSIS
use XML::LibXML; # Only methods specific to Comment nodes are listed here, # see the XML::LibXML::Node manpage for other methods $node = XML::LibXML::Comment->new( $content );
DESCRIPTION
This class provides all functions of XML::LibXML::Text, but for comment nodes. This can be done, since only the output of the node types is different, but not the data structure. :-)METHODS
The class inherits from XML::LibXML::Node. The documentation for Inherited methods is not listed here.Many functions listed here are extensively documented in the DOM Level 3 specification (<http://www.w3.org/TR/DOM-Level-3-Core/>). Please refer to the specification for extensive documentation.
- new
-
$node = XML::LibXML::Comment->new( $content );
The constructor is the only provided function for this package. It is required, because libxml2 treats text nodes and comment nodes slightly differently.
AUTHORS
Matt Sergeant, Christian Glahn, Petr PajasVERSION
2.0128COPYRIGHT
2001-2007, AxKit.com Ltd.2002-2006, Christian Glahn.
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Index
This document was created by man2html, using the manual pages.
Time: 04:45:52 GMT, September 16, 2022
0 댓글