Question: Is it even possible to do select with links that when you click submit button it will move you to the selected website, for example

```
<form>

    <select>
            <option value="1"> test 1 </option>
            <option value="http://www.google.com"> google.com </option>
            <option value="http://www.youtube.com"> youtube.com </option>
            <option value="http://www.facebook.com"> facebook.com </option> 
        </select>

        <input type="submit">
//when submit clicked, and you choosed any option then you will be moved to this website
</form>

```

Answer: 
A better and simpler way.

**c#**

```
void Main()
{
    const string filename = @"e:\Temp\Sample.xml";

    XDocument xdoc = XDocument.Load(filename);
    XNamespace aw = "http://www.adventure-works.com";

    foreach (XElement el in xdoc.Descendants(aw + "Item"))
    {
        Console.WriteLine("###################################");
        Console.WriteLine(el.Element(aw + "ProductName").Value);
        Console.WriteLine(el.Attribute(aw + "PartNumber").Value);
        Console.WriteLine("###################################");
    }
}

```
If you read the documentation for [Element](https://learn.microsoft.com/en-us/dotnet/api/system.xml.linq.xcontainer.element?view=net-6.0), it says:

> 
> Gets the **first** (in document order) child element with the specified
> XName.
> 
> 
> 

Please notice how it says "first child". In your case you want to retrieve all children, so you need to call [Elements](https://learn.microsoft.com/en-us/dotnet/api/system.xml.linq.xcontainer.elements?view=net-6.0#system-xml-linq-xcontainer-elements(system-xml-linq-xname)).

To do that, add a for each loop inside your current one.

```
foreach (XElement el in ItemList)
{
    foreach (XElement elem in el.Elements(aw + "Item")
    {
        // Rest of code left as exercise for reader
    }

}

```

As a side note, look into calling `Descendants` if your only objective is getting the Items nodes.