type
の値が でabc
ある属性にアクセスしたいfemale
XElement xelement = XElement.Load("..\\..\\Employees.xml");
var name = from nm in xelement.Elements("Employee")
where (string)nm.(Element("Abc") == "Female").Attribute("Type") == "Att"
select nm;
これはうまくいきませんでした。それを実現する方法はありますか?