WebSphere Message Brokers
File: ad06400_
Writer: Neil Dewhurst

Reference topic

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

XML comment

An XML comment encountered outside the document type declaration is represented by the Comment value syntax element. The value of the element is the comment text from the XML message.

If the value of the element contains the character sequence -->, the sequence is replaced with the text --&gt;. This ensures that the contents of the comment cannot prematurely terminate the comment. Occurrences of <, >, &, ", and ' are not translated to their escape sequences.

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

<example><!-- This is a comment --></example>
Example XML comment tree structure
Related concepts
Message flows overview
Related tasks
Developing message flows
Related reference
The XML message body
XML message body example: elements, attributes, and content
XML document type declaration
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:32

ad06400_ This topic's URL is: