WebSphere Message Brokers
File: ad06410_
Writer: Neil Dewhurst

Reference topic

This build: July 31, 2007 21:22:33

XML ProcessingInstruction

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 terminate the processing instruction. Occurrences of <,>, &, ", and ' are not translated to their escape sequences.

Examples of the XML ProcessingInstruction in an XML document and in tree structure form are shown below:

<example><?target This is a PI.?></example>
Example XML processing instruction tree structure
Related concepts
Message flows overview
Related tasks
Developing message flows
Related reference
The XML message body
XML element
XML attribute
XML content
XML message body example: elements, attributes, and content
XML CDataSection
XML EntityReferenceStart and EntityReferenceEnd
XML comment
XML AsIsElementContent
XML BitStream
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:22:33

ad06410_ This topic's URL is: