1XML::LibXML::Comment(3)User Contributed Perl DocumentatioXnML::LibXML::Comment(3)
2
3
4
6 XML::LibXML::Comment - XML::LibXML Comment Class
7
9 use XML::LibXML;
10 # Only methods specific to Comment nodes are listed here,
11 # see XML::LibXML::Node manpage for other methods
12
13 $node = XML::LibXML::Comment( $content );
14
16 This class provides all functions of XML::LibXML::Text, but for comment
17 nodes. This can be done, since only the output of the node types is
18 different, but not the data structure. :-)
19
21 The class inherits from XML::LibXML::Node. The documentation for
22 Inherited methods is not listed here.
23
24 Many functions listed here are extensively documented in the DOM Level
25 3 specification (http://www.w3.org/TR/DOM-Level-3-Core/
26 <http://www.w3.org/TR/DOM-Level-3-Core/>). Please refer to the
27 specification for extensive documentation.
28
29 new
30 $node = XML::LibXML::Comment( $content );
31
32 The constructor is the only provided function for this package. It
33 is required, because libxml2 treats text nodes and comment nodes
34 slightly differently.
35
37 Matt Sergeant, Christian Glahn, Petr Pajas
38
40 1.70
41
43 2001-2007, AxKit.com Ltd.
44
45 2002-2006, Christian Glahn.
46
47 2006-2009, Petr Pajas.
48
49
50
51perl v5.12.0 2009-10-07 XML::LibXML::Comment(3)