On Fri, 16 Aug 1996 19:49:58 CDT Jakob Fix said:
>At present, I have the TEI-specific SGML declaration (teisgml.dcl) in
>full length at the beginning of my document. However, I'd like to
>refer to it just as I refer to my own modifications to the DTD and to
>the several entity sets I am using, ie using parameter entities.
>
>nsgmls says no, it doesn't like ...
>... but I wonder if there is a way to keep the SGML declaration apart from
>the document.
sgmls, nsgmls, and all the other parsers I know with similar
command-line interfaces all allow you to specify multiple files on
the command line. So if one has a TEI-compatible SGML declaration in
a file called TEISGML.DEC and a document in MYFILE.TEI, one can
invoke nsgmls with a command like
nsgmls teisgml.dec myfile.tei
On my DOS and Unix systems, I have batch files / shell scripts
which invoke the parser with appropriate options and give my
standard SGML declaration as a first parameter, so I don't need to
name it each time I invoke the parser.
I hope this helps.
-C. M. Sperberg-McQueen
University of Illinois at Chicago
|