Sample Robotic Automation solution: xmlDocumentComponent
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 txtFileName text box and and displays the contents in the txtXML text box.
button, it opens the XML file that is specified in theWhen you click the txtSelectedXML text box.
button, it displays the child nodes, InnerText, and other details depending on the XPath that is specified in theFor 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 |
---|---|---|
8.0 | 8.0.1037 | XMLDocument 1 - 8.0 |
8.0.SP1 | 8.0.1037 | XMLDocument 1 - 8.0 SP1 |
19.1 | 19.1.2.0 | XMLDocument 1 - 19.1 |
Previous topic Sample Robotic Automation solution: HTML table click Next topic Sample Robotic Automation solution: xmlDocumentComponent with schema