Re: Applying style to XML documents using an SGML stylesheet

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
  • Applying style to XML documents using an SGML stylesheet
    • Norman Walsh - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id KAA19273Thu, 12 Mar 1998 10:16:20 -0500 (EST)
      • Henry S. Thompson - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id GAA08586Fri, 13 Mar 1998 06:24:32 -0500 (EST)
        • Norman Walsh - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id MAA13142Fri, 13 Mar 1998 12:21:07 -0500 (EST)
          • Tony Graham - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id NAA14413Fri, 13 Mar 1998 13:27:46 -0500 (EST)
          • Norman Walsh - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id KAA20558Sun, 15 Mar 1998 10:21:33 -0500 (EST) <=