This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: [docbook-apps] trademark tag not rendered correctly in javahelp
- From: "Mauritz Jeanson" <mj at johanneberg dot com>
- To: <paul_t100 at fastmail dot fm>, <docbook-apps at lists dot oasis-open dot org>
- Date: Mon, 18 Oct 2004 21:14:20 +0200
- Subject: RE: [docbook-apps] trademark tag not rendered correctly in javahelp
> -----Original Message-----
> From: Paul Taylor
> Ok I tried to this by creating a file javahelpdriver which references
> javahelp (this is the way Ive pased paramters before and it doesnt
> require me to alter the docbook stuff directly) but it didnt work ,
> however Im probably calling it wrong.
...
> <xsl:output method="html"
> encoding="UTF-8"
> indent="no"
> saxon:character-representation="native;decimal"/>
Since you are generating HTML chunks for JavaHelp, you must set the
parameters like this:
<xsl:param name="chunker.output.encoding">UTF-8</xsl:param>
<xsl:param name="saxon.character.representation">native;decimal</xsl:param>
With these particular settings, you will get raw (native) UTF-8 with no
entity references or character references at all.
> > Just seen this, saxon is outputting ™ which doesnt work. I
> > havent yet tried getting it to output the ™ but Ill
> try tommorrow.
There must be something very strange going on if you are getting ™.
Saxon doesn't know about that entity reference, and cannot output it.
/MJ