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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Including source files, Thomas G. Lockhart | Thread | Re: Including source files, Thomas G. Lockhart |
Re: Including source files, Thomas G. Lockhart | Date | Re: Including source files, Thomas G. Lockhart |
Month |