[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK-APPS: Re: DOCBOOK: First attempt to make a driver file
[ content belongs to docbook-apps ] On Sun, Mar 24, 2002 at 05:23:47PM -0600, Gre7g Luterman wrote: > Now I try it again with the following driver file I saved as > test.dsl: > > <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style > Sheet//EN" [ > <!ENTITY MyDocBook SYSTEM > "D:\ProgramFiles\Jade\DocBook\dsssl\html\docbook.dsl" CDATA DSSSL> ]> > <style-sheet> > <style-specification> > <style-specification-body> > <!-- will put in style overrides here if I can get it to work --> > </style-specification-body> > </style-specification> > <external-specification id="MyDocBookID" document="MyDocBook"> > </style-sheet> > > And I type: > > D:\> jade -t sgml -d test.dsl test.sgm > > And this time I get just console output. What the heck? If I'm > reading this correctly, my essentially empty driver file should just > tell jade to read in docbook.dsl, but yet it does something different > than if I specify docbook.dsl. > > What am I missing? How do I fix this? Looking at http://www.docbook.org/tdg/en/html/ch04.html#id2836978 [4.3.8 Customizing the Stylesheets] and http://www.dpawson.co.uk/docbook/dsssl/dssslgeneral.html#custom I guess there's missing the use attribute in the start tag of the element named style-specification. Give the following a try: <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ <!ENTITY MyDocBook SYSTEM "D:\ProgramFiles\Jade\DocBook\dsssl\html\docbook.dsl" CDATA DSSSL> ]> <style-sheet> <style-specification use="MyDocBookID"> <style-specification-body> <!-- will put in style overrides here if I can get it to work --> </style-specification-body> </style-specification> <external-specification id="MyDocBookID" document="MyDocBook"> </style-sheet> HTH, Steffen. -- http://w3studi.informatik.uni-stuttgart.de/~maiersn/ mailto:Steffen.Maier@studserv.uni-stuttgart.de
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC