I bit new to this. My xml files contains the following nodes:
<root>
<WI Title="Test1">
<Role Name="Legal"/>
<Role Name="PM"/>
</WI>
<WI Title="Test1">
<Role Name="Legal"/>
<Role Name="Legal"/>
</WI>
<WI Title="Test1">
<Role Name="PM"/>
<Role Name="PM"/>
</WI>
I need to return the Title attribute of the WI where there is duplicate
<Role> elements with the same Name attribute.
I need to tel lthe user that WI titled "Test1" has two "Legal" roles
assigned.
I've only gotten this far...create a nodelist of the WI elements...what
next?
nodelist = xDoc.SelectNodes("//WI")
For Each node In nodelist
.....
Next
Any help appreciated.
Thanks, Kit
*** Sent via Developersdex http://www.developersdex.com ***