Subject: Re: [xsl] Move leading/trailing spaces outside (XSLT 2.0) From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Tue, 06 Feb 2007 17:27:27 +0100 |
<xsl:template match="e">I think that needs to be
<xsl:analyze-string select="." regex="^\s*.*?\s*$">
<xsl:analyze-string select="." regex="^(\s*)(.+?)(\s*)$"> as the posted regular expression lacks parentheses to allow the later use of regex-group and as the posted regular expression matches the empty string which is not allowed.
Quite right, thanks.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Move leading/trailing spa, Michael Kay | Thread | [xsl] Regex groups / was: Re: [xsl], Yves Forkl |
Re: [xsl] Move leading/trailing spa, Yves Forkl | Date | [xsl] Regex groups / was: Re: [xsl], Yves Forkl |
Month |