[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] trademark tag not rendered correctly in javahelp
Hi Paul, I'm not quite clear on what is going wrong. I copied your stylesheet below and ran it with Saxon 6.5.3, and the ™ in my source file was converted to ™ in the output HTML. When you say it didn't work, are you saying you got ™ in your HTML output? Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Paul Taylor" <paul_t100@fastmail.fm> To: <docbook-apps@lists.oasis-open.org> Sent: Monday, October 18, 2004 5:01 AM Subject: Re: [docbook-apps] trademark tag not rendered correctly in javahelp > 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:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:saxon="http://icl.com/saxon" > extension-element-prefixes="saxon"> > > <xsl:import href="./javahelp.xsl"/> > > <xsl:output method="html" > encoding="UTF-8" > indent="no" > saxon:character-representation="native;decimal"/> > </xsl:stylesheet> > > Paul Taylor wrote: > > > Just seen this, saxon is outputting ™ which doesnt work. I > > havent yet tried getting it to output the ™ but Ill try tommorrow. > > > > Bob Stayton wrote: > > > >> So Saxon outputs ™ instead of ™, and ™ is supposed > >> to work > >> in Javahelp 2 compiler. But Paul is using Saxon, and that character > >> isn't > >> working for him. Is something else going on? Paul, does your HTML file > >> contain ™ or something else? > >> > >> Bob Stayton > >> Sagehill Enterprises > >> DocBook Consulting > >> bobs@sagehill.net > >> > >> > >> ----- Original Message ----- From: "Mauritz Jeanson" > >> <mj@johanneberg.com> > >> To: "'Bob Stayton'" <bobs@sagehill.net> > >> Cc: <docbook-apps@lists.oasis-open.org>; <paul_t100@fastmail.fm> > >> Sent: Saturday, October 16, 2004 11:33 PM > >> Subject: RE: [docbook-apps] trademark tag not rendered correctly in > >> javahelp > >> > >> > >> > >> > >>>> -----Original Message----- > >>>> From: Bob Stayton > >>>> > >>>> Yes, the default behavior of Saxon is to output the named > >>>> character entity > >>>> like ™. But at least Saxon can be customized to output > >>>> the numerical > >>>> entity. See: > >>>> > >>>> http://www.sagehill.net/docbookxsl/OutputEncoding.html#SaxonCharacter > >>>> > >>> Yes, but Saxon only produces HTML entity references for characters > >>> within > >>> the ISO-8859-1 range. The trade mark sign is not in that range. So > >>> Saxon > >>> never outputs ™, only ™ or ™. > >>> > >>> /MJ > >>> > >>> > >>> > >>> > >> > >> > >> > >> > >> > > > > > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]