IBM Integration Bus, Version 10.0.0.3 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS


XML ProcessingInstruction

ProcessingInstruction is a syntax element used with XML processing instructions.

An XML processing instruction, encountered outside the document type declaration, is represented by the ProcessingInstruction syntax element. This is a name-value element; the name of the syntax element is the processing instruction target name, and the value of the syntax element is the character data of the processing instruction. The value of the syntax element must not be empty. The name cannot be XML in either uppercase or lowercase.

If the value of the element contains the character sequence ?>, the sequence is replaced with the text ?&gt;. This ensures that the content of the processing instruction cannot prematurely end the processing instruction. Occurrences of <,>, &, ", and ' are not translated to their escape sequences.

The XML ProcessingInstruction in an XML document and in tree structure form are shown in the following examples:

<example><?target This is a PI.?></example>
Example XML processing instruction tree structure

ad06410_.htm | Last updated 2015-11-26 23:59:19