Re: [xsl] translate function

Subject: Re: [xsl] translate function
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 1 Jul 2003 12:41:10 +0100
##> <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


Current Thread