title: How to reference variable in xsl:text element?
body: <p>I have a stylesheet where I would prefer to insert predefined string variable in xsl text element, but can't find any pointers while searching the web.</p>
  
  <p>For example:</p>
  
  <pre><code>&lt;xsl:variable name="var" select="node()/ref/text()"/&gt;
  ...
  &lt;xsl:text&gt;Some text where I want to append $var variable desperately&lt;/xsl:text&gt;
  ...
  </code></pre>
  
  <p>I tried with $var, ($var), {$var}...</p>