How can I parse a specific child and not pick up descendants similarly named? And, I can't edit the names.
In the example below, I want to parse only the first child named "Name" under "Item Group." The parse tool is picking up all descendants of "Item Group" named "Name". So, how can I target the first child or a specific generation?
<ItemGroup> <Name>Product ABC</Name> <CategoryList> <Category> <Name>Something</Name> </Category> <!-- yada yada yada --> </CategoryList> </ItemGroup>
Thanks
Solved! Go to Solution.
Hi,
This is a bit hacky but it works on your example: