私はそのようなXMLを持っています
<root>
<content>
....
</content>
<index>
....
</index>
<keywords>
....
</keywords>
</root>
しかし、ノードだけを選択する必要があります。
<content>
....
</content>
<index>
....
</index>
ノードを1つだけ選択する方法を見つけました。
XElement Content = new XElement("content", from el in xml.Elements() select el.Element("content").Elements());
両方のノードを取得するにはどうすればよいですか?