Ok here is my XML structure :
<Files>
<File Name="One.txt">
<Client Name="test1">
<Errors>
<OtherErrorIDs>
<OtherErrorID>1</OtherErrorID>
<OtherErrorID>2</OtherErrorID>
<OtherErrorID>4</OtherErrorID>
</OtherErrorIDs>
</Errors>
</Client>
<Client Name="test2">
<Errors>
<OtherErrorIDs>
<OtherErrorID>1</OtherErrorID>
<OtherErrorID>3</OtherErrorID>
<OtherErrorID>5</OtherErrorID>
</OtherErrorIDs>
</Errors>
</Client>
</File>
<File Name="Two.txt">
<Client Name="test1">
<Errors>
<OtherErrorIDs>
<OtherErrorID>1</OtherErrorID>
<OtherErrorID>3</OtherErrorID>
<OtherErrorID>4</OtherErrorID>
</OtherErrorIDs>
</Errors>
</Client>
<Client Name="test2">
<Errors>
<OtherErrorIDs>
<OtherErrorID>2</OtherErrorID>
<OtherErrorID>3</OtherErrorID>
<OtherErrorID>4</OtherErrorID>
</OtherErrorIDs>
</Errors>
</Client>
</File>
Question is how to find the OtherErrorID that is present in all the clients
for a particular file
in the above eg it should return 1 for One.txt and 3 and 4 for Two.txt.
Can anyone point me in the right direction ?
--
Swanand Mokashi
Microsoft Certified Solution Developer (.NET)
Microsoft Certified Application Developer (.NET)
http://www.swanandmokashi.com/
http://www.swanandmokashi.com/HomePage/WebServices/
Home of the Stock Quotes, Quote of the day and Horoscope web services