minimal changes to the SGML declaration

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

minimal changes to the SGML declaration

Henning Lobin-2
Can anybody tell me, how a SGML declaration has to look like if I only want
to make few simple changes to the concrete syntax. I want to use names with
a length up to 20 characters and I want to have up to 55 tokens in an
attribute group. I have lots of SGML material but I simply cannot figure
out how the complete SGML declaration looks like with the two described
changes. I want to use this alternative SGML declaration in connextion with
the SoftQuad RulesBuilder. For any kind of help I would be very happy.

Henning Lobin
University of Bielefeld
Germany

Reply | Threaded
Open this post in threaded view
|

Re: minimal changes to the SGML declaration

Syd Bauman-2
Response to "minimal changes to the SGML declaration" posted on 20
Oct 1994 at 13:55 CDT by Henning Lobin

> Can anybody tell me, how a SGML declaration has to look like if I
> only want to make few simple changes to the concrete syntax. .....
> with the SoftQuad RulesBuilder.
One method is to get Author/Editor to print out a copy of its default
SGM declaration (using the Export... feature), and then make changes
to that declaration.
Of course, if you're doing TEI or TEI-lilke stuff, you may want to
start with "sgmldecl.tei", which is supplied along with the DTDs.

> I want to use names with a length up to 20 characters and I want to
> have up to 55 tokens in an attribute group.
(I'm betting you mean the number of names and name tokens in an
attribute definition list.) You would want to add the following
lines immediately after the line "QUANTITY SGMLREF":
   ATTCNT   55
   NAMELEN  20
In the case of starting with the TEI's sgmldecl.tei, you would then
want to delete their "NAMELEN 32".

> I have lots of SGML material but I simply cannot figure out how the
> complete SGML declaration looks like with the two described
> changes.
I think SGML declarations can be enormously difficult to learn (I
don't pretend to even understand large chunks of them). One good
place to start is the paper "Understanding the SGML Declaration" by
Exoterica Corporation. Last I knew it was a copyrighted paper not
available in electronic form, but Exoterica would send a hard copy
just for the asking.

-- Syd Bauman, Programmer/Analyst
   Brown University Women Writers Project
   [hidden email]