ASP Error: 70
Description: Permission denied
Source: Microsoft VBScript runtime error

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

RE: Ampersand in attributes

Subject: RE: Ampersand in attributes
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 7 Oct 2004 15:22:36 +0100
xsl ampersand
> 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:  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
> > "&amp".
> >
>
> 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

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.