IsComment - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


XMLTools

  

IsComment

  

determine if an expression is an XML comment data structure

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

IsComment(expr)

Parameters

expr

-

anything; expression to test

Description

• 

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.

Examples

withXMLTools:

IsCommentXMLElementa,b=c,d,e

false

(1)

IsCommentXMLCommentSome comment text

true

(2)

See Also

XMLTools

XMLTools[CommentText]

XMLTools[XMLComment]