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@xxxxxxx] > Sent: Thursday, April 27, 2000 12:56 PM > To: 'xsl-list@xxxxxxxxxxxxxxxx' > 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format