XML::LibXML::CDATASection(3) User Contributed Perl Documentation XML::LibXML::CDATASection(3)

# [NAME](#NAME)

XML::LibXML::CDATASection - XML::LibXML Class for CDATA Sections

# [SYNOPSIS](#SYNOPSIS)

```
  use XML::LibXML;
  # Only methods specific to CDATA nodes are listed here,
  # see the XML::LibXML::Node manpage for other methods
  $node = XML::LibXML::CDATASection->new( $content );
```

# [DESCRIPTION](#DESCRIPTION)

This class provides all functions of XML::LibXML::Text, but for CDATA nodes.

# [METHODS](#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 (&lt;http://www.w3.org/TR/DOM-Level-3-Core/&gt;). Please refer to the specification for extensive documentation.

[new](#new)

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

The constructor is the only provided function for this package. It is required, because *libxml2* treats the different text node types slightly differently.

# [AUTHORS](#AUTHORS)

Matt Sergeant, Christian Glahn, Petr Pajas

# [VERSION](#VERSION)

2.0212

# [COPYRIGHT](#COPYRIGHT)

2001-2007, AxKit.com Ltd.

2002-2006, Christian Glahn.

2006-2009, Petr Pajas.

# [LICENSE](#LICENSE)

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

2026-08-28 perl v5.44.0

---

Document: XML::LibXML::CDATASection(3pm) from perl-xml-libxml 2.0212-r3 (Chainguard OS)
Source: https://github.com/shlomif/perl-XML-LibXML
