I have an XML document and the heirarchy is pretty complicated because it is generated by Microsoft Tool . I want to read values of elements but at the same time I don’t want to use xdoc.element().element…value. The reason is the heirarcy might have 10+ levels. The problem is not just coding in uipath but also finding this heirarcy in XML.
1 Like
You can use the Execute XPath activity and this XPathExpression: “string(/Queries/Query/Action/text()[1])”
Queries
Query
Id
Action
Query
Id
Action
There are some examples/code in the web to download and try.