Re: Including source files

Subject: Re: Including source files
From: Norman Walsh <norm@xxxxxxxxxxxxx>
Date: Thu, 15 Jan 1998 10:24:56 -0500
"Thomas G. Lockhart" <lockhart@xxxxxxxxxxxxxxxxxx> writes:

> > > 1) Is it possible to "include" source files from another source file
> > > which has itself been included?
> >
> > Yes, you can include entities inside other entities.
> 
> Uh, how? I'm sure I've got the syntax wrong, but could use an example:

Ahh, you have to define all the entities at some top level, then you
can use entity references to do the includes.

a.sgm:
<!doctype book public "..." [
<!entity b system "b.sgm">
<!entity c system "c.sgm">
<!entity d system "d.sgm">
]>
<book>
&b;
</book>

b.sgm:
<chapter><title>whatever</title>
&d;
</chapter>

c.sgm:
<appendix><title>whatever</title>
&d;
</appendix>

Is that clear(er)?

--norm


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Including source files
    • Thomas G. Lockhart - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id LAA00619Wed, 14 Jan 1998 11:01:58 -0500 (EST)
      • Norman Walsh - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id MAA01159Wed, 14 Jan 1998 12:43:32 -0500 (EST)
        • Thomas G. Lockhart - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id AAA08240Thu, 15 Jan 1998 00:06:09 -0500 (EST)
          • Norman Walsh - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id KAA16532Thu, 15 Jan 1998 10:25:55 -0500 (EST) <=
          • Thomas G. Lockhart - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id LAA18642Thu, 15 Jan 1998 11:26:49 -0500 (EST)
          • Norman Walsh - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id LAA18912Thu, 15 Jan 1998 11:50:10 -0500 (EST)
          • Thomas G. Lockhart - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id MAA19144Thu, 15 Jan 1998 12:13:30 -0500 (EST)
          • W. Eliot Kimber - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id OAA21186Thu, 15 Jan 1998 14:00:43 -0500 (EST)