xsl-list
[Top] [All Lists]

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

2006-04-27 05:18:08

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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--