title: How can I apply an xslt template to a string?
body: <p>Given a template used for building some html around a value, I want to pass in a string, rather than a node set. As an example I want to concat some values and pass that to the template. How can I achieve that sort of thing?</p>
  
  <pre><code>&lt;xsl:template match="text()" mode="kvp-print-single"&gt;
      &lt;tr&gt;
          &lt;td colspan="3"&gt;&lt;xsl:value-of select="."/&gt;&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/xsl:template&gt;
  </code></pre>
  
  <p>...</p>
  
  <pre><code>&lt;xsl:apply-templates select="concat=(haba/hiba:text(), ' - ', huba/baba:text())" mode="kvp-print-single"/&gt;
  </code></pre>
  
  <p>ErrorMsg: xml or stylesheet file is invalid!</p>
  
  <p>Exception: System.Xml.Xsl.XsltException: Expression must evaluate to a node-set.</p>