,
+
METHOD isOptional() CLASS THtmlNode
+
RETURN hb_bitAnd( ::htmlTagType[ 2 ], CM_OPT ) > 0
// checks if this is a node (leafs contain no further nodes, e.g. , ,_text_)
+
METHOD isNode() CLASS THtmlNode
+
RETURN ISARRAY( ::htmlContent ) .AND. Len( ::htmlContent ) > 0
// checks if this is a block node that must be closed with an ending tag: eg: ,
+
METHOD isBlock() CLASS THtmlNode
+
RETURN hb_bitAnd( ::htmlTagType[ 2 ], CM_BLOCK ) > 0
// checks if this is a node whose text line formatting must be preserved: , |