WebSphere Message Brokers
File: ad06370_
Writer: Neil Dewhurst

Reference topic

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

XML CDataSection

CData sections in the XML message are represented by the CDataSection value element. The content of the CDataSection element is the value of the CDataSection element without the <![CDATA[ that marks its beginning and the ]]> that marks its end.

For example, the following Cdata section:

    <![CDATA[<greeting>Hello, world!</greeting>]]>

is represented by a CDataSection element with a string value of:

    "<greeting>Hello, world!</greeting>"

Unlike Content, occurrences of <,>, &, ", and ' are not translated to their escape sequences when the CDataSection is written out to a serialized message (bit stream).

Related concepts
Message flows overview
Related tasks
Developing message flows
Related reference
The XML message body
XML element
XML message body example: elements, attributes, and content
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:31

ad06370_ This topic's URL is: