It looks like a parenthesis has blocked out one of the from statements so it is isolated. If it is isolated, it has to have its own select statement.
It either needs another select statement or you need to remove the extra set of parentheses to allow the from statements to work together.
thines01
Postaholic
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402
Try something like this
var contList =
(from c in contDoc.Descendants("Content")
where (string)c.Attribute("Type") == str
select c
into ctemp
where (string)ctemp.Attribute("Codec") == "H264"
select new {
Id = (string)c.Attribute("Id")
}).ToList();
Momerath
Nearly a Senior Poster
3,384 posts since Aug 2010
Reputation Points: 1,232
Solved Threads: 558