logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Authors

       Matt Sergeant, Christian Glahn, Petr Pajas

Description

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

License

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

perl v5.40.1                                       2025-08-01                     XML::LibXML::CDATASection(3pm)

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

Name

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

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 );

Version

       2.0207

See Also