Direct processing instruction constructors
Direct processing instruction constructors use an XML-like notation to create processing instruction nodes.
Syntax
- PITarget
- 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.
- DirPIContents
- 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" ?>