Subject: RE: [xsl] Ampersand in attributes From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Thu, 7 Oct 2004 15:22:36 +0100 |
> Do you know if I can use that property in <xsl:copy-of select="@*"/>?? saxon:disable-output-escaping - no. You have to replace it with for each @* attribute {name()} {.} character-maps - yes. These apply to all serialized output, however generated. Michael Kay > > 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: [xsl] 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/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Ampersand in attributes, Nestor Boscan | Thread | [xsl] How to use arrays type of var, Arulraj |
[xsl] call-template with parameteri, Vidar Ramdal | Date | Re: [xsl] call-template with parame, David Carlisle |
Month |