title: XPath within R using XML package
body: <p>I am new to XPath, but I can see how powerful it is.  I am looking at the source code of this <a href="http://forums.epicgames.com/archive/index.php/t-672775.html" rel="noreferrer">link</a> and simply want to extract the contents and username from the following two pieces of the page, which for simplicity sake are located near the top of the source code.</p>
  
  <blockquote>
    <p>content="[Archive]  Simburgur's Live
    Stream [Offline] Gears of War 3"</p>
  </blockquote>
  
  <pre><code>&lt;div class="username"&gt;Simburgur&lt;/div&gt;
  </code></pre>
  
  <p>Here is my code within R:</p>
  
  <pre><code>doc &lt;- htmlParse("http://forums.epicgames.com/archive/index.php/t-672775.html")
  xpathSApply(doc, "//head/meta[@name=\"description\"]")
  </code></pre>
  
  <p>which returns</p>
  
  <pre><code>[[1]]
  &lt;meta name="description" content="[Archive]  Simburgur's Live Stream [Offline] Gears of War 3" /&gt; 
  </code></pre>
  
  <p>Obviously, in this example, all I want is what is inside the quotes of content= but am stuck and can not seem to get my expression to return the string I want.</p>
  
  <p>I repeat.  I am new to XPath.  :)</p>