Subject: Re: SDATA entity mapping From: alb@xxxxxxxxxxxx (Anders Berglund) Date: Tue, 20 May 1997 10:13:06 -0400 |
Without support in Jade for SDATA entities you will have to go through some "gymnastics" to get special alphabets and symbols. For a (coin) catalog of Medieval Russian coins I am using the following technique: - add an element for each language (really equal to a font) - define the entities in terms of #PCDATA in that element - in the DSSSL spec just make a sequence flow object with an appropriate font-family This method leaves a lot to be desired (speaking as the person who designed most of the character-glyph handling in DSSSL), but it at least separates out most of the definition into the (hopefully separate file) entity definitions and only "pollutes" the DTD slightly... With the absence of SDATA in XML it seems that this "solution" will be forced upon people like you and me that need more than Unicode (and please don't counter with the "privte use" area - that stinks even worse!) Anders An extract from my application: <!ENTITY sep "<oc>Ü</oc>" > <!ENTITY zig "<oc>Ö</oc>" > <!ENTITY bullet "<oc>Ð</oc>" > <!ENTITY star8 "<oc>é</oc>" > <!ENTITY star5 "<oc>×</oc>" > <!ENTITY rstar6 "<oc>Ù</oc>" > <!ENTITY dagger "<oc>Ú</oc>" > <!ENTITY cross "<oc>Û</oc>" > <!ENTITY JA "<oc>01</oc>" > <!ENTITY LH "<oc>¤</oc>" > <!ELEMENT oc - - ((#PCDATA|titla)*) -- old slavonic text --> <!ELEMENT titla - - (#PCDATA) -- titla in old slavonic text --> ;======================================================================= ; ; LANGUAGE ELEMENTS ; ;======================================================================= (define %old-slavonic-font-family% "CoinOldCyr") (element OC (make sequence font-family-name: %old-slavonic-font-family% (process-children-trim))) (element TITLA (make score type: 'after (process-children-trim))) DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: SDATA entity mapping, Vivek Agrawala | Thread | Re: SDATA entity mapping, James Clark |
Re: Heresy? Re: DSSSL WWW Enhanceme, Gavin Nicol | Date | Infix syntax for DSSSL, Paul Prescod |
Month |