This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Declaring entities in different files
- To: docbook at lists dot oasis-open dot org
- Subject: DOCBOOK: Declaring entities in different files
- From: Horacio MG <homega at ciberia dot es>
- Date: Thu, 20 Jul 2000 14:31:23 +0200
- Reply-to: hacho at crosswinds dot net
I've been bumping my head against the book and the keyboard searching
for a suitable way to do the following:
---------- book.sgml ----------
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
<!ENTITY chap.1 system "chap1/chap.1.sgml">
<!ENTITY chap.2 system "chap2/chap.2.sgml">
<!ENTITY chap.3 system "chap3/chap.3.sgml">
<book id="manual" lang="es">
<bookinfo>
...
<abstract>...</abstract>
</bookinfo>
&chap.1;
&chap.2;
&chap.3;
</book>
---------- book.sgml ----------
---------- chap.1.sgml ----------
<chapter id="uno" lang="es">
<title>...</title>
<abstract>...</abstract>
</chapter>
---------- chap.1.sgml ----------
It is in these chap.x.sgml files that I want to declare other files
(reference pages), but as these "second level" files don't admit a
doctype declaration, how could I include the entities?
Now, the point of this is to have entities for "third level" files
declared in various "second level" files (chap.x.sgml) in an orderly
manner, and not just one big "first level" file (book.sgml).
This tree has some other problems, but I'll leave them for later.
Thank you,
--
Horacio Anno MMDCCLIII A.U.C.
hacho@crosswinds.net Valencia - ESPAŅA
--------------------------------------------------------------------
Key fingerprint = F4EE AE5E 2F01 0DB3 62F2 A9F4 AD31 7093 4233 7AE6