This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problems separating entities


I'm sure I'm just not understanding something correct here. Should I be
allowed to have book entities in a set, and then more entities in books for
it's own chapters as follows ...

--- set
<!DOCTYPE set PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
<!ENTITY book1 SYSTEM "/u/fred/fred/docs/book1.sgml">
]>
<set>
<title>My Site</title>
<setinfo>...
</setinfo>
&book1
</set>

And then in boo1.sgml have ...

--- book
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
<!ENTITY chap1 SYSTEM "chap1.sgml">
<!ENTITY chap2 SYSTEM "chap2.sgml">
<!ENTITY chap3 SYSTEM "chap3.sgml">
]>
<book>
<title>my book</title>
<bookinfo>...
</bookinfo>
&chap1;
&chap2;
&chap3;
</book>

Seems if I throw all doctype and entities in my set page, then it works, but
by having doctype w/ entities separated doesn't seem to work. 

Any help much appreciated.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]