Re: [Bug 1394] New: Improvement to fn:tokenize function

Hello,

 

I am trying to use the string tokenize function in code but I get an
error everytime I run it.

 

This is how I have used it:

 

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:func
="http://www.w3.org/2005/xpath-functions" >

 

<xsl:template match="/">

<xsl:for-each select="tokenize($tempstr,'&#xA;')">
<xsl:value-of select="." /><xsl:text> &lt;/BR&gt; </xsl:text>

</xsl:for-each>

</xsl:template match>

 

Error Message:

 

XPathParserException: The function '{0}' was not found.

expression = 'tokenize($tempstr,'

')' Remaining tokens are:  ('tokenize' '(' '$' 'tempstr' ',' ''

'' ')') (C:\test\IBOL\IBOLReports\XSL\xml2CSV.xsl, line 124, column 58)

 

Can anyone help?

 

DB

Regards,

Dip Biswas

 

Intl. 6(720) 3067

Off: (650) 432 3067

 

Received on Saturday, 15 October 2005 01:52:34 UTC