Re: [xsl] Empty spaces turn to %20

Subject: Re: [xsl] Empty spaces turn to %20
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 28 Mar 2003 15:54:11 GMT
> Use the translate() function:
> 
> <xsl:value-of select="translate(text(),'%20',' ')"/>


That will translate "%20" to " " which does meet the stated
specification,
but it will also translate % to space, and remove every 2 and every 0
from the input string, which probably isn't wanted.

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