### ----------------------------------------------------
### -- XML
### -- Licenses: Artistic-2.0
### -- Authors: Timothy Totten
### -- File: lib/XML/CDATA.rakumod
### ----------------------------------------------------
use XML::Node;

## XML::CDATA - represents a CDATA section.
## Data is preserved "as is ", right from the [ to the ]]>
class XML::CDATA does XML::Node {
    has $.data;
    method Str() {
        '<![CDATA[' ~ $.data ~ ']]>';
    }
}

# vim: expandtab shiftwidth=4


