How to Read XML Nodes and Atrributes in Simplified Manner?

uiautomation
xml

#1

Hi Team,

Below is my XML content:

<?xml version="1.0" encoding="UTF-8"?>
<config>
<username>happy</username>
<userdetails>Chennai</userdetails>
<to>Tove</to>
<from>Jani</from>
<heading generic="TestHeader">Reminder</heading>
<body>Don't forget me this weekend!</body>
<url>www.google.com</url>
</config>

Based on various search I have used the below steps

When, I try to implement the same for complex project which has more nodes , i used to think this kind of approach takes more memory space in the machine and its time to deploy in orchestrator is more than usual.

Thanks in Advance for your kind help on this part.


#2

Hi i will provide u the xml file and the solution with the xaml where u will find how to read the nodes.

Xml.zip (4.1 KB)