title: XSLT: Add text inside html tag
body: <p>Is it possible to add text from a xsl variable to the inside of a html tag something like this?</p>
  
  <pre><code>&lt;xsl:variable name="selected"&gt;
     &lt;xsl:if test="@class = 'selected'"&gt; class="selected"&lt;/xsl:if&gt;
  &lt;/xsl:variable&gt;
  
  &lt;li{$selected}&gt;&lt;/li&gt;
  </code></pre>