tidyNode::isCommentChecks if a node represents a comment Beschreibung
bool tidyNode::isComment
( void
)
Tells if the node is a comment. Rückgabewerte
Returns Beispiele
Beispiel #1 Extract comments from a mixed HTML document
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe:
# jste node #1
<#
/* JSTE code */
alert('Hello World');
#>
|