The AsIsElementContent syntax element is a special value element. It 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 normal behavior in which occurrences of ampersand (&), less than (<), greater than (>), double quote ("), and apostrophe (') are replaced by the predefined XML entities &, <, >, ", and '.
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><rawMarkup></Message>
However, the statement
Set OutputRoot.XMLNS.(XML.Element)Message.(XML.AsisElementContent) = '<rawMarkup>';
generates the following output message:
<Message><rawMarkup></Message>
This shows that the value of an AsisElementContent syntax element is not modified before it is written to the output message.