Subject: Re: [xsl] Split string into multiple sentences on word boundaries From: Michael Ludwig <milu71@xxxxxx> Date: Thu, 9 Apr 2009 22:54:54 +0200 |
Bordeman, Chris schrieb am 09.04.2009 um 14:04:43 (-0500): > Hi all. Hi, it's better to start a new thread instead of hijacking an unrelated one. > I have a long string, need to break it up onto say 3 lines (may > vary), with a maximum of 10 characters on the first line, 50 on the > second, and 20 on the last line (all of which varies). > > I can't just split at any character, I need to split between words. > > Is there is a function already written somewhere that does something > like this? > > Using Xslt 2.0 / Saxon. See tokenize(), that should get you started. Michael Ludwig
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Split string into multiple se, Bordeman, Chris | Thread | Re: [xsl] XSL performance question:, Wendell Piez |
Re: [xsl] XSL performance question:, mark bordelon | Date | Re: [xsl] XSL performance question:, Michael Ludwig |
Month |