title: Getting full text with children/grandchildren in XPath/XSL
body: <p>I'm using an XSL 1.0 stylesheet, and I've got a node similar to the following:</p>
  
  <pre><code>&lt;p&gt;Hello, &lt;b&gt;John&lt;/b&gt;, how are you?&lt;/p&gt;
  </code></pre>
  
  <p>I'm currently in an xsl:template matched against the <code>&lt;p&gt;</code> node.  I want to create an xsl:variable that ends up with the string value "Hello, John, how are you?".</p>
  
  <p>The <code>text()</code> function fails here, as it only returns "Hello, , how are you?".</p>