Subject: Re: passing a regex matched substring to the result-document
From: Manfred Staudinger <manfred.staudinger@xxxxxxxxx>
Date: Fri, 4 Sep 2009 23:04:59 +0200
|
Hi Manuel,
On 04/09/2009, Manuel Souto Pico <m.soutopico@xxxxxxxxx> wrote:
> <xsl:variable name="common">
> <xsl:analyze-string select="$srcfilename" regex=".+/([^/]+)\.(XLF|xlf)">
> <xsl:matching-substring>
> <xsl:variable select="regex-group(1)"/>
> </xsl:matching-substring>
> </xsl:analyze-string>
> </xsl:variable>
You want to replace
<xsl:variable select="regex-group(1)"/>
by
<xsl:value-of select="regex-group(1)"/>
Regards,
Manfred
|