Hi,
I am trying to extract data from the XML document which is a data of an Invoice copy. I need to get the 2nd row line item data. I know the way interms of code level. But want to know the syntax for UiPath.
In code level its
“/Batches/Batch/Documents/Document/Tables/Table/TableRows/TableRow[2]/ItemFields/ItemField[1]/Text”
But in UiPath I am not able to enter the Index for TableRow as TableRow(2) or TableRow[2].
Reference UiPath Code :
OutXMlData.Element(“Batches”).Element(“Batch”).Element(“Documents”).Element(“Document”).Element(“Tables”).Element(“Table”).Element(“TableRows”).Element(“TableRow”).Element(“ItemFields”).Elements(“ItemField”)
Could you kindly help me on this to extract “Micro-gear Controllers” from XML document.
Sharing the XML document for reference.
Test.xml (20.4 KB)