Subject: RE: AW: Encoded question From: "Christopher R. Maden" <crism@xxxxxxxxxx> Date: Sat, 11 Nov 2000 22:45:55 -0800 |
> > > 1) What do I have to do to render ™ as ™ (not as "~Y")? > > > > I don't think that these characters are allowed characters.
This is an allowed character in XML (and therefore XSLT) even though it has no defined meaning in Unicode.
You can output the character by writing ™ in your stylesheet.
You can influence how the character is output by selecting the output encoding, e.g. xsl:output encoding="iso-8859-1"; however, you can't force the processor to use a decimal character reference rather than some equivalent representation.
I suspect that the ~Y appeared because the processor produced correct UTF-8 output and you looked at it with something that doesn't understand UTF-8.
-Chris -- Christopher R. Maden, Senior XML Analyst, Lexica LLC 222 Kearny St., Ste. 202, San Francisco, CA 94108-4510 +1.415.901.3631 tel./+1.415.477.3619 fax <URL:http://www.lexica.net/> <URL:http://www.oreilly.com/%7Ecrism/>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: AW: Encoded question, Kay Michael | Thread | [Fwd: xsl:import (was Re: Multiple , Lewis |
Re: question with using Muenchian/x, Mike Brown | Date | Re: topological sort, Peter B. West |
Month |