determine if an expression is an XML processing instruction data structure - Maple Help

Online Help

All Products    Maple    MapleSim


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

XMLTools[IsProcessingInstruction] - determine if an expression is an XML processing instruction data structure

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&equals;c&comma;d&comma;e

false

(1)

IsProcessingInstructionXMLProcessingInstructionxml&comma;version=1.0

true

(2)

See Also

XMLTools, XMLTools[XMLCData], XMLTools[XMLProcessingInstruction]


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