other versions
- Tumbleweed 1.480.0-1.1
- Leap-16.0
- Leap-15.6
| XML::XPath::Node::Comment(3) | User Contributed Perl Documentation | XML::XPath::Node::Comment(3) |
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).
| 2025-11-21 | perl v5.42.0 |