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

See information about the latest product version

XML AsisElementContent

AsisElementContent is a special value syntax element that is used to precisely control generated XML.

The AsisElementContent syntax element is a special value element. The element is used to precisely control the XML generated in an output message without the safeguards of the Element, Attribute, and Content syntax elements. If you use AsisElementContent, you must ensure that the output message is well-formed XML.

You might choose to use this syntax element if, for example, you want to suppress the usual behavior in which occurrences of ampersand (&), less than (<), greater than (>), quotation mark ("), and apostrophe (') are replaced by the predefined XML entities &amp;, &lt;, &gt;, &quot;, and &apos;.

The following example illustrates the use of AsisElementContent. The statement:

Set OutputRoot.XMLNS.(XML.Element)Message.(XML.Content) = '<rawMarkup>';

generates the following XML in an output message:

<Message>&lt;rawMarkup&gt;</Message>

However, the following statement:

Set OutputRoot.XMLNS.(XML.Element)Message.(XML.AsisElementContent) = '<rawMarkup>';

generates the following output message:

<Message><rawMarkup></Message>

These examples show that the value of an AsisElementContent syntax element is not modified before it is written to the output message.


ad06420_.htm | Last updated Friday, 21 July 2017