title: FORX0003: The regular expression in tokenize() must not be one that matches a zero-length string
body: <p>Hi this is working for "," and other delimiters but it's not working for PIPE(|) symbol only it's giving FORX0003: The regular expression in tokenize() must not be one that matches a zero-length string</p>
  
  <p>
  
      </p>
  
  <pre><code>&lt;xsl:template match="@*|node()"&gt;
      &lt;xsl:copy&gt;
          &lt;xsl:apply-templates select="@*|node()"/&gt;
      &lt;/xsl:copy&gt;
  &lt;/xsl:template&gt; 
  &lt;xsl:template match="text/text()" name="tokenize"&gt;
      &lt;xsl:param name="separator" select="'|'"/&gt;
      &lt;xsl:for-each select="tokenize(.,$separator)"&gt;
          &lt;item&gt;
              &lt;xsl:value-of select="normalize-space(.)"/&gt;
          &lt;/item&gt;
      &lt;/xsl:for-each&gt;
  &lt;/xsl:template&gt;
  </code></pre>
  
  <p></p>