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

Re: Special characters turn out as garbage in xslt->html con

Subject: Re: Special characters turn out as garbage in xslt->html conversi on
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 11 Sep 2000 14:10:58 GMT
xsl match html special character
   > > Don't worry about the HTML, so long as it works in your browser!
   > > 
   > 
   > Well, that's the problem, right? It doesn't work. That is, 
   > when the href is "#%C3%81" and there isn't a matching name-tag, it's a
   dead 
   > link. 

   You're right, if the "href" attribute is escaped and the "name" attribute
   isn't, the results won't match up (in IE5). I'll change Saxon to escape
   both, as implied by the second note of Section B.2.1 in the HTML spec. If I
   do this, they match up correctly.

   Mike Kay


You still have the problem that if you are using id rather than name
or if (as recommended in xhtml 1.0) you are using both, then still they
don't match up and you can't % encode id attribute values as % isn't
a name char.

David


 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.