|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: : Escaping '&' in an HTML link.
> But this link fails when it encounters a value with "&" in it e.g. > Star&Bucks fails because of the '&' in between. > Is there any to escape the '&' so that the URL is completely > and properly > formed? > I tried "disable-output-escaping" but it didnot seem to work. Which of the two versions do you get? 1. <a href="http://www.somewhere.com/?foo=bar&bar=foo">clickme</a> 2. <a href="http://www.somewhere.com/?foo=bar&bar=foo">clickme</a> According to http://www.w3.org/TR/REC-html40/appendix/notes.html#h-B.2.2 only the first one is correct HTML though most browsers can work with version 2 as well. Andreas 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
|

Cart








