Encoding

Subject: Encoding
From: prasadm@xxxxxxx
Date: Thu, 27 Apr 2000 11:19:04 -0500
In our project, we are converting an XML file into HTML file using jclark's
XT.

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

<A
HREF="/servlet/com.boa.gcib.docwf.diamond2.servlets.DMTradeQueue?chkSelectDo
cID=<chkSelectDocIDvalue>&amp;hidDocID=100888&amp;hidCPAcronym=IND_BANK_JAPA
N&amp;hidFrom=DOCIDHREF&amp;hidQCode=VSIG">100888</A>

Value of <chkSelectDocIDvalue> = US Broker Note|11|100388|04/26/2000
18:05:06 
which is got from the xml file.

The problem is since the value has spaces inbetween, clicking on the href
doesn't take the control to the servlet.
I know this is because of the spaces. How to encode these spaces in XSL is
my question?

This problem is only with netscape browser. IE replaces the spaces with %20
back to the server.

Has anyone come across this problem. Any suggestions.

Thanks,
Prasad M
Home:- 	630-595-0642
Work:-	312-974-6543
prasadm@xxxxxxx <mailto:prasadm@xxxxxxx> 



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


Current Thread
  • Encoding
    • prasadm - Thu, 27 Apr 2000 11:19:04 -0500 <=