tidyNode::isCommentChecks if a node represents a comment Description
bool tidyNode::isComment
( void
)
Tells if the node is a comment. Return Values
Returns Examples
Example #1 Extract comments from a mixed HTML document
<?php The above example will output: # jste node #1 <# /* JSTE code */ alert('Hello World'); #> |