XML::LibXML::Comment
XML::LibXML::Comment(User Contributed Perl DocumentatiXML::LibXML::Comment(3)
NAME
XML::LibXML::Comment - XML::LibXML Comment Class
SYNOPSIS
use XML::LibXML;
# Only methods specific to Comment nodes are listed here,
# see XML::LibXML::Node manpage for other methods
$node = XML::LibXML::Comment( $content );
DESCRIPTION
This class provides all functions of XML::LibXML::Text, but for com-
ment 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( $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 Pajas
VERSION
1.66
COPYRIGHT
2001-2007, AxKit.com Ltd; 2002-2006 Christian Glahn; 2006-2008 Petr
Pajas, All rights reserved.
perl v5.8.8 2008-11-11 XML::LibXML::Comment(3)