I have such XML
<root>
<content>
....
</content>
<index>
....
</index>
<keywords>
....
</keywords>
</root>
But I need to select just and nodes.
<content>
....
</content>
<index>
....
</index>
I found out how to select just one node.
XElement Content = new XElement("content", from el in xml.Elements() select el.Element("content").Elements());
How can I get both nodes?