|
Subject: [xsl] values in sequence after tokenize From: "andrew welch" <andrew.j.welch@xxxxxxxxx> Date: Tue, 11 Jul 2006 14:56:12 +0100 |
I want to break that string into substrings up to a given length, so
that the words including circumflexes ('^') are no longer than the
specified length.<xsl:variable name="substring" select="tokenize($string, '.{1,6}\^')"
as="xs:string*"/>This regex must be wrong because $substring now holds a sequence of 6 items (as expected), but each of those items appears to be ' '. For example this bit of debug:
thanks andrew
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] position() problem, David Carlisle | Thread | RE: [xsl] values in sequence after , Michael Kay |
| Re: [xsl] Obtaining Graphic File W, David Carlisle | Date | RE: [xsl] values in sequence after , Michael Kay |
| Month |