Direct processing instruction constructors

Direct processing instruction constructors use an XML-like notation to create processing instruction nodes.

Syntax

Read syntax diagramSkip visual syntax diagram<?PI-target Direct-PI-contents ?>
PI-target
An NCName that represents the name of the processing application to which the processing instruction is directed. The PI target of a processing instruction cannot consist of the characters "XML" in any combination of uppercase and lowercase.
Direct-PI-contents
A series of characters that specify the contents of the processing instruction. The contents of a processing instruction cannot contain the string ?>.

Example

The following constructor creates a processing instruction node:
<?format role="output" ?>