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

Online Help

All Products    Maple    MapleSim


XMLTools

  

IsCData

  

determine if an expression is an XML CDATA data structure

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

IsCData(expr)

Parameters

expr

-

anything; expression to test

Description

• 

The IsCData(expr) command tests whether a Maple expression expr is an XML CDATA data structure. If expr is an XML CDATA 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[XMLCData] constructor.

Examples

withXMLTools:

IsCDataXMLElementa,b=c,d,e

false

(1)

IsCDataXMLCDataSome <b>CDATA</b> text

true

(2)

See Also

XMLTools

XMLTools[CDataData]

XMLTools[XMLCData]