title: xslt: value of text associated with element
body: <p>If I have an XML file that includes</p>
  
  <pre><code>&lt;param name="foo" value="5000" &gt;foo is a way of making pasta sauce&lt;/param&gt;
  &lt;param name="bar" value="3000" &gt;bar is controlling the beer taps&lt;/param&gt;
  </code></pre>
  
  <p>and I want to use XSLT to process this into an HTML file, with the name and value attributes and the text as a description, how can I get the XML node text?</p>
  
  <pre><code>&lt;xsl:for-each select="param"&gt;
     &lt;tr&gt;
        &lt;td&gt;&lt;xsl:value-of select="@name"/&gt;&lt;/td&gt;
        &lt;td&gt;&lt;xsl:value-of select="@value"/&gt;&lt;/td&gt;
        &lt;td&gt;&lt;xsl:text&gt; &lt;/xsl:text&gt;&lt;/td&gt;
     &lt;/tr&gt;
  &lt;/xsl:for-each&gt;
  </code></pre>
  
  <p>The above XSLT fragment does successfully get the name and value attributes, but it fails to get the text, and I think I'm missing something obvious but I don't know what.</p>