RE: [xsl] : Escaping '&' in an HTML link.

Subject: RE: [xsl] : Escaping '&' in an HTML link.
From: Andreas Waechter <A.Waechter@xxxxxxxxx>
Date: Tue, 31 Jul 2001 08:51:29 +0200
> 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=";bar=foo";>clickme</a>
2. <a href="";>clickme</a>

According to
only the first one is correct HTML though most browsers can work with
version 2 as well.


 XSL-List info and archive:

Current Thread