Re: processing character entities

Subject: Re: processing character entities
From: Matthias Clasen <clasen@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 22 Jul 1999 00:42:56 +0200
> From: MARK.WROTH@xxxxxxxxxxx (Wroth, Mark)
> 
> Boris Goldowsky <boris@xxxxxxxxxxxxxxxxxxxx> asked:
> >> What are the various solutions people on this list use for processing
> >> character entities in SGML->SGML or SGML->HTML conversions? In my work
> 
> >>>>> Matthias Clasen answered:
> MC> I don't know if this really helps here, but OpenJade implements the
> MC> map-sdata-entity declaration, so you can control the 
> MC> sdata entity --> character map from within your stylesheet now.
>  
> and Boris asked for clarification:
> B>Can someone give me an example of how to use this?  The spec suggests
> B>   <map-sdata-entity name="Alpha" text="[Alpha]">greekA</map-sdata-entity>
> B>but then what?  How do I get from there to
> B>   <IMG src="/images/alpha.gif">?
> 
> 
> I can't give any clarification, but I'll second his question; I primarily
> output in RTF and HTML, but the documents can contain just about any
> character defined in the various ISO entity sets.  So dealing with the
> limitations of the various backends is in my future :-)

It is the job of the backends to choose suitable representations in its
output format for any Unicode character it meets. Maybe some backends 
need improvement in this area.

-- 
Matthias Clasen, 
Tel. 0761/203-5606
Email: clasen@xxxxxxxxxxxxxxxxxxxxxxxxxx
Mathematisches Institut, Albert-Ludwigs-Universitaet Freiburg


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread