RE: [xsl] Empty spaces turn to %20

Subject: RE: [xsl] Empty spaces turn to %20
From: "Bryan Archer" <barcher@xxxxxx>
Date: Fri, 28 Mar 2003 15:35:44 -0000
Is there not a 'unescape' function (as in javascript) availble in your sh language?

-----Original Message-----
From: Jarkko.Moilanen@xxxxxx [mailto:Jarkko.Moilanen@xxxxxx]
Sent: 28 March 2003 15:00
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] Empty spaces turn to %20


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
Visit our website at http://www.rm.com

This message is confidential.  You should not copy it
or disclose its contents to anyone.  You may use and apply the information
only for the intended purpose.  Internet communications are not secure and
therefore RM does not accept legal responsibility for the contents of this
message.  Any views or opinions presented are only those of the author and
not those of RM.  If this email has come to you in error please delete it
and any attachments.  Please note that RM may intercept incoming and
outgoing e-mail communications.

This email has been scanned for viruses by Trend ScanMail.

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


Current Thread