Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

XML::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 the XML::LibXML::Node manpage for other methods

$node = XML::LibXML::Comment->new( $content );

Description

User Contributed Perl Documentation                    XML::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 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 Pajas

VERSION
       2.0201

COPYRIGHT
       2001-2007, AxKit.com Ltd.

       2002-2006, Christian Glahn.

       2006-2009, Petr Pajas.

LICENSE
       This program is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+-------------------------------+
       |ATTRIBUTE TYPE |       ATTRIBUTE VALUE         |
       +---------------+-------------------------------+
       |Availability   | library/perl-5/xml-libxml-532 |
       +---------------+-------------------------------+
       |Stability      | Volatile                      |
       +---------------+-------------------------------+

NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-
       LibXML-2.0201.tar.gz.

       Further information about this software can be found on the open source
       community website at http://search.cpan.org/~shlomif/XML-LibXML/.



perl v5.32.0                      2019-05-25           XML::LibXML::Comment(3)