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

Fredrik Lundh fredrik@pythonware.com
Sun, 16 May 1999 16:05:04 +0200


Michael Sobolev <mss@transas.com> wrote:
> On Sat, May 15, 1999 at 08:38:44PM +0200, Fredrik Lundh wrote:
> > #include "chapter1.sgm"
> > #include "chapter2.sgm"
> <!DOCTYPE ...   [
>     <!ENTITY chapter1 SYSTEM "chapter1.sgm">
> ]>
> 
> ...
> &chapter1;
> ...

just what I needed!

> 
> But I believe your files chapter* should not have any <!doctype>s.

I was just about to answer that I need doctypes to be
able to edit the individual chapters when I realized that
my SGML editor did the right thing when I loaded the
master document.  extremely cool!

Thanks /F