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

Re: Ampersand

Subject: Re: Ampersand
From: "Carmelo Montanez" <carmelo@xxxxxxxx>
Date: Tue, 17 Jul 2001 16:07:54 -0400
Re:  Ampersand
> > However what I actually get is "&amp;" when running the transformation
> > instead of "&" as intended, is that because the "xsl:text" is
> > inside the
> > "<xsl:attribute>" statement?, When I use the same "xsl:text" statement
> > outside
> > the "xsl:attribute",  I get the "&" as expected, any one
>
> >From XSLT 1.0 spec "16.4 Disabling Output Escaping"
>
> "It is an error for output escaping to be disabled for a text node that is
> used for something other than a text node in the result tree. Thus, it is
an
> error to disable output escaping for an xsl:value-of or xsl:text element
> that is used to generate the string-value of a comment, processing
> instruction or attribute node"

    Got it.
> > aware of how to
> > go about getting the "&" inside the "xsl:attribute"?
>
> E.g. Saxon has an extension saxon:disable-output-escaping which may be set
> on the xsl:attribute element. Other than that - try and not use the
entity -
> I take it that someValue is not a character reference, right?
>
        Actually it is

>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.