This content has been archived and is no longer being maintained.

Table of Contents

Article

Sample solution: xmlDocumentComponent

This sample solution shows you how to use the xmlDocumentComponent component by using Pega® Robotic Automation Studio versions 7.1 and 8.0.

Project items

  • Windows form: Windows form1
  • Automation: LoadDocument

Automation details

LoadDocument

This automation contains the logic that performs when you click various buttons on the Windows form.

When you click the Load button, it opens the XML file that is specified in the txtFileName text box and and displays the contents in the txtXML text box.

When you click the Select button, it displays the child nodes, InnerText, and other details depending on the XPath that is specified in the txtSelectedXML text box.

For more information and instructions on how to build the automation, see Using the xmlDocumentComponent.

You can download completed solutions for each version in the following table:

Studio version Built by using this build Sample solution download
7.1 7.1.26 XMLDocument 1 - 7.1
8.0 8.0.1037 XMLDocument 1 - 8.0

Published July 14, 2017 — Updated October 30, 2017

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.