[XML-SIG] a simple SGML question (off-topic)

Lars Marius Garshol larsga@ifi.uio.no
15 May 1999 20:52:29 +0200

* Fredrik Lundh
| I have a bunch of docbook CHAPTER's, each
| in a separate file.  It would be very cool if I
| could write a "master document" which
| "includes" them all, something like:
| #include "chapter1.sgm"
| #include "chapter2.sgm"

Here's what I use:

<!DOCTYPE Book PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [

  <!ENTITY publ-today    SYSTEM "publ-today.sgml">
  <!ENTITY techno-back   SYSTEM "techno-back.sgml">
  <!ENTITY architecture  SYSTEM "architecture.sgml">
  <!ENTITY platform      SYSTEM "platform.sgml">
  <!ENTITY evaluation    SYSTEM "evaluation.sgml">









| would it be easier to write a Python script
| which rips off the extra DOCTYPE elements.

I don't think so. :)

--Lars M.