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

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Connectivity : Web Features : XMLTools : IsProcessingInstruction

XMLTools

  

IsProcessingInstruction

  

determine if an expression is an XML processing instruction data structure

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

IsProcessingInstruction(expr)

Parameters

expr

-

anything; expression to test

Description

• 

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

• 

Every valid XML document begins with the processing instruction <&quest;xml version=1&period;0&quest;>.

Examples

withXMLTools&colon;

IsProcessingInstructionXMLElementa&comma;b=c&comma;d&comma;e

false

(1)

IsProcessingInstructionXMLProcessingInstructionxml&comma;version=1.0

true

(2)

See Also

XMLTools

XMLTools[XMLCData]

XMLTools[XMLProcessingInstruction]