我想访问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;
这没有用。有什么办法让它发生吗?