Debian Codegraph @

lib/XML/LibXML/Comment.pod

raw
1 =head1 NAME
2
3 XML::LibXML::Comment - XML::LibXML Comment Class
4
5 =head1 SYNOPSIS
6
7
8
9 use XML::LibXML;
10 # Only methods specific to Comment nodes are listed here,
11 # see the XML::LibXML::Node manpage for other methods
12
13 $node = XML::LibXML::Comment->new( $content );
14
15 =head1 DESCRIPTION
16
17 This class provides all functions of L<<<<<< XML::LibXML::Text >>>>>>, but for comment nodes. This can be done, since only the output of the node
18 types is different, but not the data structure. :-)
19
20
21 =head1 METHODS
22
23 The class inherits from L<<<<<< XML::LibXML::Node >>>>>>. The documentation for Inherited methods is not listed here.
24
25 Many functions listed here are extensively documented in the DOM Level 3 specification (L<<<<<< http://www.w3.org/TR/DOM-Level-3-Core/ >>>>>>). Please refer to the specification for extensive documentation.
26
27 =over 4
28
29 =item new
30
31 $node = XML::LibXML::Comment->new( $content );
32
33 The constructor is the only provided function for this package. It is required,
34 because I<<<<<< libxml2 >>>>>> treats text nodes and comment nodes slightly differently.
35
36
37
38 =back
39
40 =head1 AUTHORS
41
42 Matt Sergeant,
43 Christian Glahn,
44 Petr Pajas
45
46
47 =head1 VERSION
48
49 2.0134
50
51 =head1 COPYRIGHT
52
53 2001-2007, AxKit.com Ltd.
54
55 2002-2006, Christian Glahn.
56
57 2006-2009, Petr Pajas.
58
59 =cut
60
61
62 =head1 LICENSE
63
64 This program is free software; you can redistribute it and/or modify it under
65 the same terms as Perl itself.
66