# perldoc > XML::LibXML::CDATASection

## NAME
    [XML::LibXML::CDATASection](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ALibXML%3A%3ACDATASection/markdown) - [XML::LibXML](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ALibXML/markdown) Class for CDATA Sections

## SYNOPSIS
      use [XML::LibXML](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ALibXML/markdown);
      # Only methods specific to CDATA nodes are listed here,
      # see the [XML::LibXML::Node](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ALibXML%3A%3ANode/markdown) manpage for other methods

      $node = [XML::LibXML::CDATASection](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ALibXML%3A%3ACDATASection/markdown)->new( $content );

## DESCRIPTION
    This class provides all functions of [XML::LibXML::Text](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ALibXML%3A%3AText/markdown), but for CDATA nodes.

## METHODS
    The class inherits from [XML::LibXML::Node](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ALibXML%3A%3ANode/markdown). 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::CDATASection](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ALibXML%3A%3ACDATASection/markdown)->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
    Matt Sergeant, Christian Glahn, Petr Pajas

## VERSION
    2.0134

## 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.

