[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] translate function


Subject: Re: [xsl] translate function
From: abbouh <abbouh@xxxxxxxxxxxxxxxxx>
Date: Tue, 01 Jul 2003 13:47:12 +0000

ok thanks

David Carlisle a écrit :

> ##> <xsl:value-of select="translate($caption_title,' @#160;','--'"/>
>
> as I wrote in my mail I only used @ there to avoid problems with mail
> agents: you need to use &.
>
> OK I'll risk it, hopefully you'll see this as intended and it won't be
> mangled by your mailer
>
> <xsl:value-of select="translate($caption_title,' &#160;','--'"/> as you
>
> You probably don't need a variable at all and can just use
>
> <xsl:value-of select="translate(caption,' &#160;','--'"/> as you
>
> which will convert all spaces and #160 characters to -.
>
> David
>
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star Internet. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ________________________________________________________________________
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread