determine if an expression is an XML comment data structure - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Connectivity : Web Features : XMLTools : XMLTools/IsComment

XMLTools[IsComment] - determine if an expression is an XML comment data structure

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]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam