【发布时间】:2014-01-11 08:32:48
【问题描述】:
如何使用 linq 返回特定“作者”的所有“标题”值?
<Details xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Record>
<Author>Barry White</Author>
<Title>First Book</Title>
</Record>
<Record>
<Author>Barry White</Author>
<Title>Second Book</Title>
</Record>
<Record>
<Author>Norman White</Author>
<Title>Second Book</Title>
</Record>
</Details>
【问题讨论】:
标签: c# xml linq linq-to-xml