Subject: Re: [xsl] Split Strings with multiple spaces From: Alice Ju-Hsuan Wei <ajwei@xxxxxxxxxxx> Date: Wed, 14 Nov 2007 12:06:18 -0500 |
Alice,
Are you using XSLT 1.0 or 2.0?
In 2.0, we have the function tokenize(), which makes this much easier. (It is also commonly available as a extension in 1.0: check your processor.)
In 1.0 you need to use a recursive template, not unlike what Mike just wrote about in the thread "[xsl] get value from link from last slash". You work through the string one item at a time by handling the first item and then calling the same template again with the remaining ones.
Cheers, Wendell
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Split Strings with multip, Wendell Piez | Thread | [xsl] Spread a ul/li list in severa, Bernie |
Re: [xsl] Split Strings with multip, Wendell Piez | Date | RE: [xsl] RE: How to pass VBScript , Nistala, Anu |
Month |