[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] transforming hyperlinks encoding(?) problem
I have a problem to use hyper links that contains special characters.
I have a link to a file that has special Unicode characters in its name. I am using xalan to transform input XML to Html. I noticed that xalan automatically converts special characters. for example I have this character u\05E9 (Unicode) 1. in the title attribute of the <a> it is converted by xalan to ש. 2. in the href attribute it is being converted to %D7%A9. when I open the html file via apache web-server I see the title as should be but when I click on the link it can't find the file. I understand that html 4 requires special character in the URI to be converted to UTF-8. so the string coming from the xml is (I replaced the special characters with their Unicode values): file://yossim/shr/[u\005E9][u\005DC][u\005d5][u\005dd].txt and the translated html is : <a href="file://yossim/shr/%D7%A9%D7%9C%D7%95%D7%9D.txt" title="שלום.txt">שלום.txt</a> what is the problem, why IE5 can't open the file??? Thank you Vic _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp 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
|