This is fixed in the latest CVS version.

Gary

Carsten Ziegeler wrote:
> 
> Hi,
> 
> I have some problems with the normalize-space function.
> When I use the following rule, everything is working well:
> 
> <xsl:template match = "link">
>         <a href="{normalize-space(url)}">
>                 <xsl:value-of select="normalize-space(text)"/>
>         </a>
> </xsl:template>
> 
> However if I use the folling template the result is different,
> a %20 is appended to the value of the href attribute:
> 
> <xsl:template match = "link">
>         <a>
>                 <xsl:attribute name="href"><xsl:value-of
> select="normalize-space(url)"/></xsl:attribute>
>                 <xsl:value-of select="normalize-space(text)"/>
>         </a>
> </xsl:template>
> 
> The source looks like this:
> 
> <link>
>         <url>
>                 value
>         </url>
> </link>
> 
> Is there any chance to get the second template working?
> 
> Carsten
> 
> Open Source Group                        sunShine - b:Integrated
> ================================================================
> Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
> www.sundn.de                          mailto: [EMAIL PROTECTED]
> ================================================================

Reply via email to