Subject: RE: Ampersand in attributes
From: "Nestor Boscan" <nestor.boscan@xxxxxxxxxx>
Date: Thu, 7 Oct 2004 09:50:45 -0400
|
Michael thanks for the quick reply.
I will use the property. Do you know if I can do the same thing with
<xsl:copy-of select="@*"/>?
Regards,
Nistor Boscan
-----Mensaje original-----
De: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Enviado el: Thursday, October 07, 2004 3:58 AM
Para: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Asunto: RE: Ampersand in attributes
> Ken thanks for your quick answer
>
> In my case I have a Kyocera running an Eudora browser that does not
> work well with the amperson and I need to generate "&" instead of
> "&".
>
There are ways of generating invalid HTML if you really need to, which it
seems you do.
In Saxon 6.x there is an extension saxon:disable-output-escaping on
xsl:attribute
In Saxon 8.x you can use character maps: assign some private use character
to the meaning "unescaped ampersand", and map it to an ampersand as the
output string.
Please also raise a bug report with the supplier of this broken browser.
Michael Kay
http://www.saxonica.com/
|