I am trying to parse this XML document and match the guid with the link nodes. I have a GUI built in C# that will allow the user to input the guid, and I am trying to spit out the corresponding link node that corresponds with it. 

For example. A user enters ID: 8385522 and the program would spit out: 

<http://once.www.example.com>

The XML is as follows:

```
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>
    </title>
    <link>
    </link>
    <description>
    </description>
    <language>
    </language>
    <lastBuildDate>
    </lastBuildDate>
    <item>
      <title>Parsing Example</title>
      <link>http://once.www.example.com</link>
      <pubDate>Sun, 16 Sep 2012 02:44:02 </pubDate>
      <guid>8385522</guid>
    </item>
    <item>
      <title>Parsing Example 2</title>
      <link>http://once.once.www.example2.com</link>
      <pubDate>Sat, 29 Sep 2012 18:29:13 </pubDate>
      <guid>8439191</guid>
    </item>
  </channel>
</rss>

```

I don't have any code written for the text box that the ID is being entered in. All I have in that field is:

```
void TextBox1TextChanged(object sender, EventArgs e)
{

}

```

Do I need put the function inside the text box field? Any help is appreciated.

Edit: Here is what I have so far:

```
 private void button2_Click_1(object sender, EventArgs e)
        {
            Clipboard.Clear();

            if (Directory.Exists(@"c:\text"))    
            { 

            XmlDocument xDoc = new XmlDocument();
            xDoc.Load(@"c:\text\text.xml");

            XmlDocument lDoc = new XmlDocument();
            lDoc.Load(@"c:\text\text.xml");

            XmlNodeList ctextbox = xDoc.GetElementsByTagName("guid");
            XmlNodeList link = lDoc.GetElementsByTagName("link");

```

I'm not sure exactly where the parsing function needs to be.