[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

transforming hyperlinks encoding(?) problem

Subject: transforming hyperlinks encoding(?) problem
From: "Vic Gar" <vlg8693@xxxxxxxxxxx>
Date: Thu, 06 Sep 2001 12:14:34 -0700
special characters in hyperlinks
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 &#1513.
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="&#1513;&#1500;&#1493;&#1501;.txt">&#1513;&#1500;&#1493;&#1501;.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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.