Last post May 09, 2012 09:50 PM by Decker Dong - MSFT
May 08, 2012 09:57 AM|Chithra_Iyer|LINK
Below is the query which is returning a list that has matching source names from an xml file.
var query = from ext in XElement.Load(@xmlFilePath).Elements("CList")
SourceName = ext.Element("SourceName").Value,
Description = ext.Element("description").Value,
This query returning list of SourceName and Description .
I need to get all the SourceName from another xml matching with the above list of SourceName
Below is the query to select another xml.This xml is also having the column SourceName.
Want to select all rows with matching source names.
var query1 = from ext in XElement.Load(@xmlFilePath).Elements("CList")
where ext.Element("SourceName") == query.Select(i => i.SourceName)
Tried many combinations but not working out
Please help me out
May 09, 2012 09:50 PM|Decker Dong - MSFT|LINK
Show us your xml contents in the right formation and then tell us what you expected result is？