Skip to main content
LinkedIn
Copied!

Table of Contents

Configuring XML tree node properties for a Parse XML rule

Configure nodes for element or attribute node types to be included in the tree structure. The tree structure allows you to define how the parsed XML data will be mapped to the clipboard values referenced in the individual tree nodes.

  1. In the navigation pane of Dev Studio, click Records.

  2. Expand the Integration-Mapping category, and then click Parse XML.

  3. Click the row of a Parse XML rule to open it.

  4. On the Mapping tab, double-click a tree node to display the User Data window for the node.

  5. On the Node tab of the User Data window, in the Node Namespace field, enter a namespace.

    This option is typically set when the parse rule is auto-generated from an XML Schema Definition (XSD). If the option is set, the attribute or element name must be prefix-qualified with the specified namespace value for its value to be parsed and mapped to the clipboard.
  6. If the node type is Element, and the same element can appear multiple times in a sequence, select Repeating to map the list of elements to a list property.

    The Optional and Nillable options are typically set when the parse rule is auto-generated from an XSD, and has no effect on parsing.
  7. In the Substitution field, to indicate whether this element or its content can be substituted at run time using a different element or complex type definition.

    This option, as well as the content of the Type Substitution and Element Substitution tables on the XML tab of the parse rule, is typically set when the parse rule is auto-generated from an XSD.

    By using the Apply Rule mapping mode, the actual component parse rule instance that is applied to parse the element content can be determined dynamically at run time by matching the type or element name from the inbound XML document with an entry in either the Type Substitution or Element Substitution table. If found, the Class name specified in the third column of the table will be used to select the most appropriate Parse XML rule to process the element content.

    If you configure Type Substitution on the root node of the Parse XML rule, you must specify a Context Page on the Mapping tab of the User Data panel.
  8. Click OK to close the User Data window, or click the Type tab to continue configuring the XSD type.

Did you find this content helpful?

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us