Subject: Re: [xsl] Xslt 2.0 disable-output-escaping attributes From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 26 Jan 2004 18:31:35 GMT |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Xslt 2.0 disable-output-e, Andrew Welch | Thread | RE: [xsl] Xslt 2.0 disable-output-e, Michael Kay |
RE: [xsl] Re: Displaying XSLT XML , Andrew Welch | Date | RE: [xsl] Re: Displaying XSLT XML , Mike Spencer |
Month |