xsl-list
[Top] [All Lists]

Re: translate function

2003-07-01 04:41:10

##> <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



<Prev in Thread] Current Thread [Next in Thread>