Subject: Re: 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 |
- Re: Empty spaces turn to %20, (continued)
- David Carlisle - Fri, 28 Mar 2003 10:20:52 -0500 (EST)
- Peter Flynn - Sat, 29 Mar 2003 19:57:03 -0500 (EST)
- Kaine Varley - Fri, 28 Mar 2003 10:24:33 -0500 (EST)
- Martinez, Brian - Fri, 28 Mar 2003 10:26:12 -0500 (EST)
- David Carlisle - Fri, 28 Mar 2003 10:50:58 -0500 (EST) <=
- Bryan Archer - Fri, 28 Mar 2003 10:32:05 -0500 (EST)
- Passin, Tom - Fri, 28 Mar 2003 10:33:17 -0500 (EST)
- Passin, Tom - Fri, 28 Mar 2003 10:39:13 -0500 (EST)
- Martinez, Brian - Fri, 28 Mar 2003 11:17:24 -0500 (EST)
|
|