Matt Sergeant > XML-XPath > XML::XPath::Node::Comment

Download:
XML-XPath-1.13.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  36
Open  1
View/Report Bugs
Source  

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).

syntax highlighting: