title: F# XML parsing
body: <p>this c# code is probably not the most efficient but gets what I want done.  </p>
  
  <p>How do I accomplish the same thing in F# code?</p>
  
  <pre><code>    string xml = " &lt;EmailList&gt; " +
                 "      &lt;Email&gt;test@email.com&lt;/Email&gt; " +
                 "      &lt;Email&gt;test2@email.com&lt;/Email&gt; " +
                 " &lt;/EmailList&gt; ";
  
      XmlDocument xdoc = new XmlDocument();
      XmlNodeList nodeList;
      String emailList = string.Empty;
      xdoc.LoadXml(xml);
      nodeList = xdoc.SelectNodes("//EmailList");
      foreach (XmlNode item in nodeList)
      {
          foreach (XmlNode email in item)
          {
               emailList +=  email.InnerText.ToString() +  Environment.NewLine ;
          }               
      }
  </code></pre>