|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Xslt 2.0 disable-output-escaping attributes
> 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 < 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=">"/> <xsl:output-character character=">" string=">"/> <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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








