Hi Everyone,
I want to read data from below XML of highlighted attributes,
<?xml version="1.0" encoding="utf-8"?>
<ParentNode>
<Controls xmlns="Controls">
<Control controlType="label" name="Put" label="Purchase orders : Put" newLine="1" data="" type="Undefined" length="-1" error="0" defaultButton="0" enabled="1" selected="" color="#000000" xmlns="" />
<Control controlType="text" name="WMSLocationId" label="Loc" newLine="1" data="TEMP2" type="String" length="10" error="0" defaultButton="0" enabled="0" selected="" color="#000000" xmlns="" />
<Control controlType="text" name="LicensePlateId" label="LP" newLine="1" data="000301301-0000006433" type="String" length="25" error="0" defaultButton="0" enabled="0" selected="" color="#000000" xmlns="" />
<Control controlType="text" name="ItemId" label="Item" newLine="1" data="DORSGL" type="String" length="20" error="0" defaultButton="0" enabled="0" selected="" color="#000000" xmlns="" />
</Controls>
<Auth userId="hkarmakar" sessionId="{5D316978-427B-4323-991D-85345E74FC9A}" />
<UserCulture>EN-US</UserCulture>
</ParentNode>
Please find attached screenshot of my code.
What should I write in for Loop so that I can retrieve the values of Attributes.