title: XPath query to return HTML
body: <p>I was wondering there was a way for XPath to return HTML of a particular element?</p>
  
  <pre><code>&lt;td&gt;
  1212 S.W. 123 St.
  &lt;br&gt;
  Flower, Maryland 11234
  &lt;br&gt;
  United States
  &lt;/td&gt;
  </code></pre>
  
  <p>XPath query:</p>
  
  <pre><code>string(//table[@cellspacing='10']/tr[2]/td[2])
  </code></pre>
  
  <p>Current Output </p>
  
  <pre><code>1212 S.W. 123 St.Flower, Maryland 11234United States
  </code></pre>
  
  <p>Desired output:</p>
  
  <p><code>1212 S.W. 123 St.&lt;br&gt;Flower, Maryland 11234&lt;br&gt;United States</code></p>