Re: [xsl] remove white space

Subject: Re: [xsl] remove white space
From: Kenneth Stephen <marvin.the.cynical.robot@xxxxxxxxx>
Date: Thu, 23 Sep 2004 08:46:10 -0500
On Wed, 22 Sep 2004 19:38:53 +0100, Mark Williams <mark@xxxxxxxxxxx> wrote:
> Hi,
> 
> Is there any easy xslt function for removing white space in an element other
> than strip-space.  I have an element which contains urls, some of which have
> white space in the middle of the url.  Strip-space won't help with this.

Mark,

    Ken has already provided you with an answer, but the question that
I have is whether this is indeed what you really want. Spaces within
URLs are significant and they should usually be URL encoded. For
example, the space would get converted to %20. If you are removing
spaces, you are changing the URL,

Regards,
Kenneth

Current Thread