Hello, im getting data from XML file, with this way:
(This is just short example)
And my xml file looks like this
What do I want to achieve? As you can see in this example (OF XML File) sometimes I can use item1 or item2 or item3 (or all of them at the same time, doesnt matter) XML ITEMS.
And I can not find way to make code which will check name of each item and lets say check if name of this item is inside List<
String> and if is, and its name equals for example
item1 do some action and so on with other possible used items.
Thanks in advance for help!