Re: [xsl] Empty spaces turn to %20

Subject: Re: [xsl] Empty spaces turn to %20
From: Lionel Crine <crine@xxxxxxxxxxxx>
Date: Fri, 28 Mar 2003 16:23:10 +0100
use normalize-space in your XSL document.

string normalize-space(string?)

At 17:00 28/03/2003 +0200, you wrote:
Hi!

I am getting data from html form, which has text input fields.
I pass the QUERY_STRING to sh script which turns it in to
XML. Then I transform the XML to html with XSLT.

Problem is how ever that the browser generates %20 to every
empty space.

Now I have XMl which looks like this:
<Publication>
<Author>Firstname%20Lastname</Author>
<Pubname>Text%20with%20spaces</Pubname>
</Publication>

Any change with XSLT to get rid of these %20's in the
text parts?

Or should I do it with some other tool?

Cheers,
Jarkko

***************************************************
* Jarkko Moilanen                                 *
* Project Researcher, ITCM (www.itcm.org)         *
* Profound XML technology Expert                  *
* University of Tampere                           *
* Hypermedia Laboratory                           *
***************************************************

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread