Subject: Re: [xsl] values in sequence after tokenize From: "andrew welch" <andrew.j.welch@xxxxxxxxx> Date: Tue, 11 Jul 2006 15:33:08 +0100 |
The regex given to tokenize determines the separator between tokens, not the content of the tokens. I'm not quite sure what result you expect here (or in general). You can probably tackle it using xsl:analyze-string, which is more powerful than tokenize().
<xsl:analyze-string select="$string" regex=".{{1,6}}\^"> <xsl:matching-substring> <line count="{ ?? }"><xsl:value-of select="."/></line> </xsl:matching-substring> <xsl:non-matching-substring> <non><xsl:value-of select="."/></non> </xsl:non-matching-substring> </xsl:analyze-string>
<line count="1">.... <line count="2">....
thanks andrew
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] values in sequence after , Michael Kay | Thread | Re: [xsl] values in sequence after , Florent Georges |
AW: [xsl] Basic Question about Addi, Huditsch, Roman \(LN | Date | [xsl] Namespace getting carried ove, Prashanth T S |
Month |