|
Subject: RE: [xsl] Converting number to ASCII-character From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Mon, 24 Sep 2001 12:53:36 +0100 |
> > The closest equivalent is:
> > <xsl:value-of select="concat('&', $number, ';')"
> > disable-output-escaping="yes"/>
> > which works because Unicode character values are a superset
> of ASCII.
> >
>
> this seemed to be the best solution for me. But the xsl:value element
> outputs the following:
>
> &65;
>
Then you are using a processor (or serializer) that doesn't support
disable-output-escaping. Not all do, it's an optional feature, and a
somewhat deprecated one. Switch processor, or use one of the other
solutions.
(Incidentally, of course, I left out the "#" that's required in the output,
you want "A".
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Converting number to ASCI, Chris Bayes | Thread | AW: [xsl] Converting number to ASCI, Mengel Andre (FV/SLM |
| [xsl] Adding structure to a docment, Nicholas Waltham | Date | [xsl] Re:, cutlass |
| Month |