Re: SDATA entity mapping in Jade

Subject: Re: SDATA entity mapping in Jade
From: James Clark <jjc@xxxxxxxxxx>
Date: Wed, 16 Apr 1997 16:50:16 +0700
At 09:16 15/04/97 -0400, Daniel Speck wrote:
>James Clark wrote:
>> 
>> At 09:26 14/04/97 -0400, Daniel Speck wrote:
>> >
>> >So, until Jade supports SDATA entity mapping, how would one go about
>> >faking it?
>> 
>> What exactly do you want to do with SDATA entities?  Jade supports about 900
>> of the ISO standard SDATA entity names (including all the WGL4 characters).
>> For RTF at least there's not much point in supporting more than this until
>> the RTF backend allows configurable mapping from glyph ids to font/character
>> codes.
>> 
>> James
>
>Well, for one, I'd like to write a style specification to go from
>Docbook 3.0 to
>HTML 3.2 (as a learning exercise for me). Perhaps this isn't a good
>application of the DSSSL style transformation. I need a way to say what
>should become of, e.g., &trade;, &ldquo;, &rdquo;, &mdash;, &ndash, etc.

Are you using -t sgml?  If so, I think what's needed is for the SGML
transformation backend to be able to translate characters to entity
references on output (probably under the control of a characteristic).

James

Current Thread