title: XSL - How to select innerhtml of a node
body: <p>I have following html snippet:</p>
  
  <pre><code>&lt;div class="rsw-pp rsw-pp-widget"&gt;
    &lt;div g:type="AverageStarRating" g:secondaryurls="http://maps.google.com/?cid=12948004443906002997" g:decorateusingsecondary="http://maps.google.com/?cid=12948004443906002997" g:groups="maps" g:rating_override="2.998000" class="rsw-stars "&gt;   &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I'd like to get innerhtml of the first div. The expected result is:</p>
  
  <pre><code>&lt;div g:type="AverageStarRating" g:secondaryurls="http://maps.google.com/?cid=12948004443906002997" g:decorateusingsecondary="http://maps.google.com/?cid=12948004443906002997" g:groups="maps" g:rating_override="2.998000" class="rsw-stars "&gt;     &lt;/div&gt;
  </code></pre>
  
  <p>How can I do that? Ex <code>&lt;xsl:value-of select="//div[@class='rsw-pp rsw-pp-widget']/html()" /&gt;</code>
  This will not work because there's no html() function. Could anyone help me?</p>