This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Encoding
- To: xsl-list at mulberrytech dot com
- Subject: RE: Encoding
- From: prasadm at crt dot com
- Date: Fri, 28 Apr 2000 09:20:45 -0500
- Reply-To: xsl-list at mulberrytech dot com
Thanks to all who responded.
I got to solve the problem. I made use of the translate function to replace
spaces by "%20"
.....
translate(child::DSCR, ' ', '%20')
...
- Prasad
> -----Original Message-----
> From: Kay Michael [SMTP:Michael.Kay@icl.com]
> Sent: Thursday, April 27, 2000 12:56 PM
> To: 'xsl-list@mulberrytech.com'
> Subject: RE: Encoding
>
> > In our XSL file, we generate a href, the href has a url as
> > the value and
> > some values in the form of query srting as shown below
> ...
> > The problem is since the value has spaces inbetween, clicking
> > on the href doesn't take the control to the servlet.
>
> An XSLT processor with method="html" is supposed to escape the spaces as
> %20. I don't know if xt does this - possibly not. Try another processor
> (Saxon and Xalan are both more complete than xt) and see if you get the
> same
> result.
>
> Mike Kay
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list