# phpman > perldoc > XML::XPath::Node::Comment

## NAME
    Comment - an XML comment: <!--comment-->

## API
  new ( data )
    Create a new comment node.

  getValue / getData
    Returns the value in the comment

  toString
    Returns the comment with -- encoded as a numeric entity (if it exists in the comment text).

