New to LINQ.
Example xml:

```
<item name="XX">
    <inside type="A"/>
    <inside type="B" />
</item>
<item name="YY">
    <inside type="C"/>
    <inside type="D" />
</item>

```

I would like to parse it to tuples:

```
(XX, A)
(XX, B)
(YY, C)
(YY, D)

```

So far I can retrieve the first lines online: `(XX, A)` and `(YY, C)` of each item using the code below:

```
var selected = (from item in doc.Root.Elements()
let inside = item.Element(XName.Get("inside", item.GetDefaultNamespace().NamespaceName))
select Tuple.Create(item.Attribute("name").Value,
inside.Attribute("type").Value)).ToList();

```

I believe I should modify `item.Element` to `item.Elements` but so far no luck.