Subject: SV: translate function
From: "Askild Aaberg Olsen" <askild@xxxxxxxxxxx>
Date: Tue, 1 Jul 2003 14:02:42 +0200
|
Abbouh wrote:
> you can test it on this xml file:
> .....
> <caption>Répartition des alimentations d
> ans la baie SK (vue avant)</caption>
>
> ......
>
> try to get the caption and translate each to '-'
> with the instruction:
> <xsl:value-of select="translate($caption_title,' ','-')"/>
> or
> <xsl:value-of select="translate($caption_title,'
> @#160;','--'"/> as you say.
This should be <xsl:value-of select="translate($caption_title,'
 ','--'"/>
(note the "&" instead of the "@"...)
Askild Aaberg Olsen
-
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|