Subject: Re: Applying style to XML documents using an SGML stylesheet From: Norman Walsh <norm@xxxxxxxxxxxxx> Date: Sun, 15 Mar 1998 09:53:59 -0500 |
/ Tony Graham <tgraham@xxxxxxxxxxxxxxxx> was heard to say: | At 13 Mar 1998 12:18 -0500, Norman Walsh wrote: | > / ht@xxxxxxxxxxxxxxx (Henry S. Thompson) was heard to say: | > | Norman Walsh <norm@xxxxxxxxxxxxx> writes: | > | > 1. Is it possible to parse the stylesheet as an SGML instance | > | > and the document as an XML instance? (Getting proper validation | > | > in both cases.) | > | > | > | > 2. On a related note, is it possible to parse the DSSSL | > | > stylesheet with one SGML declaration and the input document with | > | > another? | > | | > | I haven't cracked this, so I've made a set of XML-compatible versions | > | of the DSSSL style-sheet [use version and official version], which are | > | what is distributed with XSLJ, so that you can set up your catalog for | > | JADE to use the XML SGML declaration and invoke jade with -wno-valid | > | -wxml. | > | > Rats. In that case the 1.08 stylesheets are really problematic | > because they use parameter-entity controlled marked sections. | > They do that because some languages use a bunch of character | > entities and I wanted to make declaration of all those entities | > optional (especially since they're all SDATA entities as | > distributed by ISO). | > | > Thoughts? | | Make your stylesheet either more or less readable (depending on your | point of view) by replacing the entity references with DSSSL character | name references. Taking a short example from dbl1ru.dsl: I did this for local testing by making my own version of the Russian Cyrillic entity set. That doesn't change the fact that w/o parameter entities, everyone will have to load all the language support files. Maybe that's ok. --norm DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Applying style to XML documents, Tony Graham | Thread | DSSSL spec, Pawson, David |
Re: Jade 1.1, James Clark | Date | Table Problems - Def List Instead?, Chuck Darney |
Month |