Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

Manually editing XML for XML Stream rules

Updated on April 6, 2022

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.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us