The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

  XML::DOM2::Element::Comment

DISCRIPTION

  Comment element object class.

METHODS

$element->new( $name, %options )

  Create a new comment element object.

$element->xmlify()

  Returns the comment as xml.

$element->text()

  Return plain text (UTF-8)

$element->setComment( $text )

  Replace comment with $text

$element->appendComment( $text )

  Append to the end of existing comment text $text

$element->_can_contain_elements()

  The element can not contain sub elements.

$element->_can_contain_attributes()

  The element can not contain attributes

COPYRIGHT

Martin Owens, doctormo@cpan.org

SEE ALSO

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