|
Subject: RE: [xsl] Xslt 2.0 disable-output-escaping attributes From: "Michael Kay" <mhk@xxxxxxxxx> Date: Mon, 26 Jan 2004 20:52:26 -0000 |
> The spec here uses the example
>
> <xsl:character-map name="jsp">
> <xsl:output-character char="«" string="<%"/>
> <xsl:output-character char="»" string="%>"/>
> <xsl:output-character char="§" string='"'/> </xsl:character-map>
>
> Where the @char should be @character.
Thanks, the example is now fixed.
>
> 2. For some reason, adding the above character map affects
> the < in my script block. For example,
>
> while (a < el.childNodes.length) {
>
> Without the above character map comes out as an entity
> unchanged, but with the above map it comes out as '<'
>
Thanks, this is a bug. Mapping a character should disable escaping for
that character (or rather, for its replacement string), but it seems
that a request for character mapping is enough to disable all escaping
of special characters.
Michael Kay
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, David Carlisle | Thread | RE: [xsl] Re: Displaying XSLT XML , Andrew Welch |
| [xsl] Re: Cross-browser API, Dimitre Novatchev | Date | RE: [xsl] Including inc files in xs, Archana Rao |
| Month |