Skip to main content


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

Sample Robotic Automation solution: xmlDocumentComponent

Updated on September 10, 2021

This sample solution shows you how to use the xmlDocumentComponent component by using Pega Robot Studio.

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 versionBuilt by using this buildSample solution download
8.08.0.1037XMLDocument 1 - 8.0
8.0.SP18.0.1037XMLDocument 1 - 8.0 SP1
19.119.1.2.0XMLDocument 1 - 19.1
  • Previous topic Sample Robotic Automation solution: HTML table click
  • Next topic Sample Robotic Automation solution: xmlDocumentComponent with schema

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.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us