title: XSL analyze string alternative for XSL 1.0
body: <p>Is there a way to perform the analyze string operation in XSL 1.0
  For example in XSL 2.0 we can have:</p>
  
  <pre><code>  &lt;xsl:analyze-string select="Description" regex="$param1"&gt;
      &lt;xsl:matching-substring&gt;
      &lt;span style="background-color: papayawhip;"&gt;
  &lt;xsl:value-of select="."/&gt;&lt;/span&gt;
      &lt;/xsl:matching-substring&gt;
      &lt;xsl:non-matching-substring&gt;
      &lt;xsl:value-of select="."/&gt;
      &lt;/xsl:non-matching-substring&gt;
      &lt;/xsl:analyze-string&gt;
  </code></pre>
  
  <p>So this will look for param1 in the Description node and replace it with a <code>&lt;span&gt;</code>. Is it possible to do something like this with XSL 1.0?</p>