XMLTools
IsProcessingInstruction
determine if an expression is an XML processing instruction data structure
Calling Sequence
Parameters
Description
Examples
IsProcessingInstruction(expr)
expr
-
anything; expression to test
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 <?xml version=1.0?>.
with⁡XMLTools:
IsProcessingInstruction⁡XMLElement⁡a,b=c,d,e
false
IsProcessingInstruction⁡XMLProcessingInstruction⁡xml,version=1.0
true
See Also
XMLTools[XMLCData]
XMLTools[XMLProcessingInstruction]
Download Help Document