This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Customizing dsl file for openjade
- From: Marc Haber <mh+docbook-apps at zugschlus dot de>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 13 Jun 2002 17:52:39 +0200
- Subject: DOCBOOK-APPS: Customizing dsl file for openjade
Hi,
As a second platform, I am currently exploring openjade for html and
pdf creation. From a HOWTO, I pulled the following dsl file that
allows me to customize both html and print output from the same dsl
file:
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY % html "IGNORE">
<![%html;[
<!ENTITY % print "IGNORE">
<!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl>
]]>
<!ENTITY % print "INCLUDE">
<![%print;[
<!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl>
]]>
]>
<style-sheet>
<style-specification id="print" use="docbook">
<style-specification-body>
;; customize the print stylesheet
</style-specification-body>
</style-specification>
<style-specification id="html" use="docbook">
<style-specification-body>
;; customize the html stylesheet
</style-specification-body>
</style-specification>
<external-specification id="docbook" document="docbook.dsl">
</style-sheet>
When I invoke
openjade -t xml -d style.dsl#html -o firstdocbook.html firstdocbook.xml
I get a truckload of "undeclared use of feature" errors for
simple-page and table. I also notice that the path to my docbook.dsl
file is nowhere mentioned in that file. Where do I have to put that
path?
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Karlsruhe, Germany | lose things." Winona Ryder | Fon: *49 721 966 32 15
Nordisch by Nature | How to make an American Quilt | Fax: *49 721 966 31 29