In XPath 2.0 there is a standard tokenize() function, you no longer need the extension. But either way, you can simply do:
 
<xsl:for-each select="tokenize(....)">
  <word><xsl:value-of select="."/></word>
</xsl:for-each>
 
Michael Kay
http://www.saxonica.com/


From: saxon-help-admin@lists.sourceforge.net [mailto:saxon-help-admin@lists.sourceforge.net] On Behalf Of Namrata Patel
Sent: 15 March 2005 15:44
To: saxon-help@lists.sourceforge.net
Subject: [saxon] tokenize extension

All,

 

            A very newbie question. If I want to you the extension tokenize which returns node-set to me, how would I iterate through those nodes in my xsl?? Any help with some sample code is welcome.

 

Thx,

Namrata