Re: [xsl] split string to whole words based on length

Subject: Re: [xsl] split string to whole words based on length
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 27 Apr 2006 13:17:27 +0100
As I say, my code requires a trailing "," at the end of the list so for
example you can change your stylesheet to 

<xsl:variable name="str" select="string-join((//word,''), ',')" as="xs:string"/>

then it works as posted making two word elements with the "z" template.

> As I say it's all academic now

Being academic is of course a good thing:-)

David



________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread