title: How can I extract specific tags using LINQ to XML in F#?
body: <p>I have an XML file, which I open in F# like this:</p>
  
  <pre><code>let Bookmarks(xmlFile:string) = 
      let xml = XDocument.Load(xmlFile)
  </code></pre>
  
  <p>Once I have the XDocument I need to navigate it using LINQ to XML and extract all specific tags. Part of my solution is:</p>
  
  <pre><code>let xname (tag:string) = XName.Get(tag)
  let tagUrl (tag:XElement) = let attribute = tag.Attribute(xname "href")
                              attribute.Value
  let Bookmarks(xmlFile:string) = 
      let xml = XDocument.Load(xmlFile)
      xml.Elements &lt;| xname "A" |&gt; Seq.map(tagUrl)
  </code></pre>
  
  <p>How can I extract the specific tags from the XML file?</p>