Manually editing XML for XML Stream rules
To avoid errors and compose a complete XML message, you can manually edit the content of your XML document. You can edit the XML provided in an XML Stream rule if it was not auto-generated by a wizard in Pega Platform. The Auto-generated XML check box on the XML tab of the XML Stream rule should be cleared.
The XML text in each XML stream rule can contain directives or JSP tags that reference clipboard properties. At run time, the system performs stream processing to evaluate these directives or JSP tags and form the final XML message.
To include the value of a property, use the <pega:reference > JSP tag. In most cases,
include the normal
mode in each reference
JSP tag.
Normal
mode encodes special characters so that the they do not create
invalid XML. For example:
<pega:reference name="pyWorkpage.pyStatusWork" mode="normal" />
This causes stream processing to replace any < and > characters that might appear in
the corresponding entities <
and >
, and
(unlike the default display
mode) does not add a space before and after the
property value.
Previous topic Configuring the XML output for an XML Stream rule Next topic JMS Transport data instances