RE: [xsl] arguments for xsl:call-template

Subject: RE: [xsl] arguments for xsl:call-template
From: Sabrina Fords <Sabrina.Fords@xxxxxxxxxx>
Date: Fri, 7 Dec 2001 17:25:31 -0000
Hi All,

I'm using saxon:tokenize() extension function, and I want to 
count how many tokens this function returns. 
How do I do this? I know that the tokenize() function uses the
StringTokenizer() java method but I just don't know how I count the nodes
in my stylesheet.

Any help/advice would be very much appreciated.


My xsl is as follows


<xsl:output method="text" version="1.1" encoding="utf-8" indent="no"
<xsl:template match="field/text()">
    <xsl:variable name="string" select="."/>           
    <xsl:for-each select="saxon:tokenize($string,',')">    
       	   <xsl:value-of select="."/>


e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you are not an intended recipient, please notify info@xxxxxxxxxx
immediately. Please note that some of our communications may contain
confidential information which it could be a criminal offence for you to
disclose or use without authority. This email is not intended nor should it
be taken to create any legal relations contractual or otherwise.

 XSL-List info and archive:

Current Thread