Subject: Re: [xsl] tokenizing comma separated string with quotes From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 22 Feb 2007 12:31:10 GMT |
> is there a modification to the regex to not include the surrounding quotes? <xsl:variable name="regex"> <xsl:text>\s*"(([^"]*)"|([^,]+))\s*</xsl:text> </xsl:variable> then use <xsl:value-of select="concat(regex-group(2),regex-group(3))"/> Only one of the groups will be non-empty, but concating them together is probably easier than testing which group you need. David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] tokenizing comma separate, Andrew Welch | Thread | Re: [xsl] tokenizing comma separate, Andrew Welch |
Re: [xsl] tokenizing comma separate, Andrew Welch | Date | Re: [xsl] tokenizing comma separate, Abel Braaksma |
Month |