The SGML Implementation Guide A Blueprint for SGML Migration

Created: 2020-10-04T10:19:46+00:00

Return to the Index

I gave up around page 252. It goes in to depth on how tags work and are defined. But it's the kind of thing that probably deserves to be in a hypertext reference and not a Zettelkasten card.

DTDs

Entity

<!ENTITY onehalf '1/2'>
<!ENTITY chap1 SYSTEM 'chap1.sgm'>

Now when you see &onehalf; it SHOULD be replaced with 1/2.

Element

Defines elements and what is allowed to appear within them.

<!ELEMENT something - 0 (#PCDATA)>

Attribute list

Defines what attributes are attached to tags and whether they are required or not.

<!ATTLIST tagname parameter PARAMETER-NAME #REQIURED>

Document type

Defines the layout of the document.

<!DOCTYPE something [...]>

SGML declaration

Holds "bootstrap" information.

<!SGML ISO 8879:1986...>

Body