This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Encoding


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]