title: Tokenize function not working in XSLT
body: <p>I am trying to use the tokenize function in XSLT and it is not working</p>
  
  <pre><code>&lt;xsl:variable name="stringList" select="tokenize('XPath,is,fun', ',')"/&gt;
  &lt;xsl:for-each select="$stringList"&gt;
      &lt;xsl:value-of select="." /&gt;
  &lt;/xsl:for-each&gt;
  </code></pre>
  
  <p>Is this anything wrong in this ? I tried this both in eclipse and in the <a href="http://www.w3schools.com/XSL/tryxslt.asp?xmlfile=cdcatalog&amp;xsltfile=cdcatalog" rel="nofollow">w3schools tutorial editor</a></p>
  
  <p>Actual code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xsl:stylesheet version="2.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:rg="http://www....."
      xmlns="http://wwww.w3.org/1999/xhtml" &gt;
      &lt;xsl:template match="/"&gt;
          &lt;html&gt;
              &lt;head&gt;
                  &lt;title&gt;Temp&lt;/title&gt;
              &lt;/head&gt;
              &lt;body&gt;
                  &lt;xsl:variable name="stringList" select="tokenize('XPath,is,fun', ',')" /&gt;
                  &lt;xsl:for-each select="$stringList"&gt;
                      &lt;xsl:value-of select="." /&gt;&lt;br/&gt;
                  &lt;/xsl:for-each&gt;
              &lt;/body&gt;
          &lt;/html&gt;
      &lt;/xsl:template&gt;
  
  &lt;/xsl:stylesheet&gt;
  </code></pre>