NAME

XML::DOM2::Element::CDATA

DESCRIPTION

CDATA Element object class

METHODS

$class->new( $text, %arguments )

Create a new cdata object.

$element->xmlify()

Returns the text as a serialised xml string (serialisation)

$element->text()

Return plain text (UTF-8)

$element->setData( $text )

Replace text data with $text.

$element->appendData( $text )

Append to the end of the data $text.

$element->_can_contain_elements()

The element can not contain sub elements.

$element->_can_contain_attributes()

The element can not contain attributes

OVERLOADED

$object->auto_string()

$object->auto_eq( $string )

COPYRIGHT

Martin Owens, doctormo@cpan.org

SEE ALSO

XML::DOM2,XML::DOM2::DOM::Element