The no.of occurances of specialitycode and specialtyName might not be defined, sometimes it occurs only once, sometime twice, but we need to capture all the occurrances
Refer this thread for the solution.
we suggest the following:
Analyze the XML Namespaces as described here:
then loop over all speciality elements and process the code and name
xnsDefault | XNamespace Variable
For each activity | TypeArgument: XElement |
item in xDoc.Root.Descendants(xnsDefault + "specialty")
- log message:
item.Element(xnsDefault + "specialtyCode").Value
- log message:
item.Element(xnsDefault + "specialtyName").Value
please check the answers and lets get finalized the topic by
Forum FAQ - How to mark a post as a solution - News / Tutorials - UiPath Community Forum