W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2005

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

From: Biswas, Dip <dbiswas@visa.com>
Date: Fri, 14 Oct 2005 16:45:52 -0700
Message-ID: <87AF388B09D601479F69E0324820B63005BD16D8@sw720ex014.visa.com>
To: <public-qt-comments@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:09 UTC