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

Re: Xslt 2.0 disable-output-escaping attributes

Subject: Re: Xslt 2.0 disable-output-escaping attributes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 26 Jan 2004 18:31:35 GMT
xsl output character
> I would have expected the left angle bracket to still be an entity - is this correct?  

No the character map forces it to be exactly the string specified
without going through XML escaping, In your case the string specified is
the single character "<" (The fact that you entered that character using
the entity &lt; is irrelevant and in fact the xslt engine doesn't see
that entity in the input, it will have been expanded by the parser.

 <xsl:output-character character=">" string="&gt;"/>
 <xsl:output-character character="&gt;" string="&gt;"/>
 <xsl:output-character character=">" string=">"/>

all produce the same XML parse in the Xpath data model, so all form the
same input (and so, the same output) in xslt.

So you get out an unescaped <.

David

-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 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.