XMLTools
IsComment
determine if an expression is an XML comment data structure
Calling Sequence
Parameters
Description
Examples
IsComment(expr)
expr
-
anything; expression to test
The IsComment(expr) command tests whether a Maple expression expr is an XML comment data structure. If expr is an XML comment data structure, the value true is returned. Otherwise, false is returned.
Such expressions can be encountered in XML documents that are read from external sources, or can be generated programmatically by using the XMLTools[XMLComment] constructor.
with⁡XMLTools:
IsComment⁡XMLElement⁡a,b=c,d,e
false
IsComment⁡XMLComment⁡Some comment text
true
See Also
XMLTools[CommentText]
XMLTools[XMLComment]
Download Help Document