Martin Owens > XML-DOM2-0.06 > XML::DOM2::Element::Comment

Download:
XML-DOM2-0.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

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

syntax highlighting: