XmlProcessingInstruction

Construct an XML processing instruction.

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:


Syntax

XmlProcessingInstruction

graphics/XmlProcessingInstruction.png

Char

Description

An XmlProcessingInstruction directly constructs an XML processing instruction. It is delimited by "<?" and "?>" and contains a processing instruction target which is an XML name minus the letter sequence "XML" (regardless of case), see also the W3C specification of PITarget. The PITarget must directly follow the opening delimiter "<?".

Example

  • This example constructs a processing instruction intended to be interpreted by the application myapp:

    <?myapp rewrite="yes" ?>