IsTree - Maple Help

Online Help

All Products    Maple    MapleSim


XMLTools

  

IsTree

  

determine if an expression is an XML tree data structure

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

IsTree(expr)

Parameters

expr

-

anything; expression to test

Description

• 

The IsTree(expr) command tests whether a Maple expression expr is an XML tree data structure. If expr is an XML tree data structure, the value true is returned.  Otherwise, false is returned.

  

Note: A full recursive traversal of the input is performed, so this is an extremely expensive test.

Examples

withXMLTools:

IsTreeXMLElementa,b=c,d,XMLElementfoo,colour=red,bar

true

(1)

See Also

XMLTools

XMLTools[XMLElement]