| 1 |
<!-- Jul 1 93 version, minus backward-compatibility stuff. --> |
| 2 |
|
| 3 |
<!-- DTD definitions --> |
| 4 |
|
| 5 |
<!ENTITY % heading "H1|H2|H3|H4|H5|H6" > |
| 6 |
<!ENTITY % list " UL | OL | DIR | MENU "> |
| 7 |
<!ENTITY % literal " XMP | LISTING "> |
| 8 |
|
| 9 |
<!ENTITY % bodyelement |
| 10 |
"P | HR | %heading | |
| 11 |
%list | DL | ADDRESS | PRE | BLOCKQUOTE |
| 12 |
| %literal"> |
| 13 |
|
| 14 |
<!ENTITY % URL "CDATA" |
| 15 |
-- The term URL means a CDATA attribute |
| 16 |
whose value is a Uniform Resource Locator, |
| 17 |
as defined. (A URN may also be usable here when defined.) |
| 18 |
--> |
| 19 |
|
| 20 |
<!ENTITY % linkattributes |
| 21 |
"NAME NMTOKEN #IMPLIED |
| 22 |
HREF %URL; #IMPLIED |
| 23 |
REL CDATA #IMPLIED -- forward relationship type -- |
| 24 |
REV CDATA #IMPLIED -- reversed relationship type |
| 25 |
to referent data: |
| 26 |
|
| 27 |
PARENT CHILD, SIBLING, NEXT, TOP, |
| 28 |
DEFINITION, UPDATE, ORIGINAL etc. -- |
| 29 |
|
| 30 |
URN CDATA #IMPLIED -- universal resource number -- |
| 31 |
|
| 32 |
TITLE CDATA #IMPLIED -- advisory only -- |
| 33 |
|
| 34 |
METHODS NAMES #IMPLIED -- supported public methods of the object: |
| 35 |
TEXTSEARCH, GET, HEAD, ... -- |
| 36 |
|
| 37 |
"> |
| 38 |
|
| 39 |
|
| 40 |
<!-- Document Element --> |
| 41 |
|
| 42 |
<!ELEMENT HTML O O (HEAD, BODY)> |
| 43 |
|
| 44 |
<!ELEMENT HEAD O O ( TITLE? & ISINDEX? & NEXTID? & LINK* |
| 45 |
& BASE?)> |
| 46 |
|
| 47 |
<!ELEMENT TITLE - - (#PCDATA) |
| 48 |
-- The TITLE element is not considered part of the flow of text. |
| 49 |
It should be displayed, for example as the page header or |
| 50 |
window title. |
| 51 |
--> |
| 52 |
|
| 53 |
<!ELEMENT ISINDEX - O EMPTY |
| 54 |
-- WWW clients should offer the option to perform a search on |
| 55 |
documents containing ISINDEX. |
| 56 |
--> |
| 57 |
|
| 58 |
<!ELEMENT NEXTID - O EMPTY> |
| 59 |
<!ATTLIST NEXTID N NAME #REQUIRED |
| 60 |
-- The number should be a name suitable for use |
| 61 |
for the ID of a new element. When used, the value |
| 62 |
has its numeric part incremented. EG Z67 becomes Z68 |
| 63 |
--> |
| 64 |
<!ELEMENT LINK - O EMPTY> |
| 65 |
<!ATTLIST LINK |
| 66 |
%linkattributes> |
| 67 |
|
| 68 |
<!ELEMENT BASE - O EMPTY -- Reference context for URLS --> |
| 69 |
<!ATTLIST BASE |
| 70 |
|
| 71 |
HREF %URL; #IMPLIED |
| 72 |
|
| 73 |
> |
| 74 |
<!ENTITY % inline "EM | TT | STRONG | B | I | U | |
| 75 |
CODE | SAMP | KBD | KEY | VAR | DFN | CITE " |
| 76 |
> |
| 77 |
|
| 78 |
<!ELEMENT (%inline;) - - (#PCDATA)> |
| 79 |
|
| 80 |
<!ENTITY % text "#PCDATA | IMG | %inline;"> |
| 81 |
|
| 82 |
<!ENTITY % htext "A | %text" -- Plus links, no structure --> |
| 83 |
|
| 84 |
<!ENTITY % stext -- as htext but also nested structure -- |
| 85 |
"P | HR | %list | DL | ADDRESS |
| 86 |
| PRE | BLOCKQUOTE |
| 87 |
| %literal | %htext"> |
| 88 |
|
| 89 |
|
| 90 |
<!ELEMENT BODY O O (%bodyelement|%htext;)*> |
| 91 |
|
| 92 |
|
| 93 |
<!ELEMENT A - - (%text)> |
| 94 |
<!ATTLIST A |
| 95 |
%linkattributes; |
| 96 |
> |
| 97 |
|
| 98 |
<!ELEMENT IMG - O EMPTY -- Embedded image --> |
| 99 |
<!ATTLIST IMG |
| 100 |
SRC %URL; #IMPLIED -- URL of document to embed -- |
| 101 |
> |
| 102 |
|
| 103 |
|
| 104 |
<!ELEMENT P - O EMPTY -- separates paragraphs --> |
| 105 |
<!ELEMENT HR - O EMPTY -- horizontal rule --> |
| 106 |
|
| 107 |
<!ELEMENT ( %heading ) - - (%htext;)+> |
| 108 |
|
| 109 |
<!ELEMENT DL - - (DT | DD | %stext;)*> |
| 110 |
<!-- Content should match ((DT,(%htext;)+)+,(DD,(%stext;)+)) |
| 111 |
But mixed content is messy. -Dan Connolly |
| 112 |
--> |
| 113 |
|
| 114 |
<!ELEMENT DT - O EMPTY> |
| 115 |
<!ELEMENT DD - O EMPTY> |
| 116 |
|
| 117 |
<!ELEMENT (UL|OL) - - (%htext;|LI|P)+> |
| 118 |
<!ELEMENT (DIR|MENU) - - (%htext;|LI)+> |
| 119 |
<!-- Content should match ((LI,(%htext;)+)+) |
| 120 |
But mixed content is messy. |
| 121 |
--> |
| 122 |
<!ATTLIST (%list) |
| 123 |
COMPACT NAME #IMPLIED -- COMPACT, etc.-- |
| 124 |
> |
| 125 |
|
| 126 |
<!ELEMENT LI - O EMPTY> |
| 127 |
|
| 128 |
<!ELEMENT BLOCKQUOTE - - (%htext;|P)+ |
| 129 |
-- for quoting some other source --> |
| 130 |
|
| 131 |
<!ELEMENT ADDRESS - - (%htext;|P)+> |
| 132 |
|
| 133 |
<!ELEMENT PRE - - (#PCDATA|%inline|A|P)+> |
| 134 |
<!ATTLIST PRE |
| 135 |
WIDTH NUMBER #implied |
| 136 |
> |
| 137 |
|
| 138 |
<!-- Mnemonic character entities. --> |
| 139 |
<!ENTITY AElig "Æ" -- capital AE diphthong (ligature) --> |
| 140 |
<!ENTITY Aacute "Á" -- capital A, acute accent --> |
| 141 |
<!ENTITY Acirc "Â" -- capital A, circumflex accent --> |
| 142 |
<!ENTITY Agrave "À" -- capital A, grave accent --> |
| 143 |
<!ENTITY Aring "Å" -- capital A, ring --> |
| 144 |
<!ENTITY Atilde "Ã" -- capital A, tilde --> |
| 145 |
<!ENTITY Auml "Ä" -- capital A, dieresis or umlaut mark --> |
| 146 |
<!ENTITY Ccedil "Ç" -- capital C, cedilla --> |
| 147 |
<!ENTITY ETH "Ð" -- capital Eth, Icelandic --> |
| 148 |
<!ENTITY Eacute "É" -- capital E, acute accent --> |
| 149 |
<!ENTITY Ecirc "Ê" -- capital E, circumflex accent --> |
| 150 |
<!ENTITY Egrave "È" -- capital E, grave accent --> |
| 151 |
<!ENTITY Euml "Ë" -- capital E, dieresis or umlaut mark --> |
| 152 |
<!ENTITY Iacute "Í" -- capital I, acute accent --> |
| 153 |
<!ENTITY Icirc "Î" -- capital I, circumflex accent --> |
| 154 |
<!ENTITY Igrave "Ì" -- capital I, grave accent --> |
| 155 |
<!ENTITY Iuml "Ï" -- capital I, dieresis or umlaut mark --> |
| 156 |
<!ENTITY Ntilde "Ñ" -- capital N, tilde --> |
| 157 |
<!ENTITY Oacute "Ó" -- capital O, acute accent --> |
| 158 |
<!ENTITY Ocirc "Ô" -- capital O, circumflex accent --> |
| 159 |
<!ENTITY Ograve "Ò" -- capital O, grave accent --> |
| 160 |
<!ENTITY Oslash "Ø" -- capital O, slash --> |
| 161 |
<!ENTITY Otilde "Õ" -- capital O, tilde --> |
| 162 |
<!ENTITY Ouml "Ö" -- capital O, dieresis or umlaut mark --> |
| 163 |
<!ENTITY THORN "Þ" -- capital THORN, Icelandic --> |
| 164 |
<!ENTITY Uacute "Ú" -- capital U, acute accent --> |
| 165 |
<!ENTITY Ucirc "Û" -- capital U, circumflex accent --> |
| 166 |
<!ENTITY Ugrave "Ù" -- capital U, grave accent --> |
| 167 |
<!ENTITY Uuml "Ü" -- capital U, dieresis or umlaut mark --> |
| 168 |
<!ENTITY Yacute "Ý" -- capital Y, acute accent --> |
| 169 |
<!ENTITY aacute "á" -- small a, acute accent --> |
| 170 |
<!ENTITY acirc "â" -- small a, circumflex accent --> |
| 171 |
<!ENTITY aelig "æ" -- small ae diphthong (ligature) --> |
| 172 |
<!ENTITY agrave "à" -- small a, grave accent --> |
| 173 |
<!ENTITY amp "&" -- ampersand --> |
| 174 |
<!ENTITY aring "å" -- small a, ring --> |
| 175 |
<!ENTITY atilde "ã" -- small a, tilde --> |
| 176 |
<!ENTITY auml "ä" -- small a, dieresis or umlaut mark --> |
| 177 |
<!ENTITY ccedil "ç" -- small c, cedilla --> |
| 178 |
<!ENTITY eacute "é" -- small e, acute accent --> |
| 179 |
<!ENTITY ecirc "ê" -- small e, circumflex accent --> |
| 180 |
<!ENTITY egrave "è" -- small e, grave accent --> |
| 181 |
<!ENTITY eth "ð" -- small eth, Icelandic --> |
| 182 |
<!ENTITY euml "ë" -- small e, dieresis or umlaut mark --> |
| 183 |
<!ENTITY gt ">" -- greater than --> |
| 184 |
<!ENTITY iacute "í" -- small i, acute accent --> |
| 185 |
<!ENTITY icirc "î" -- small i, circumflex accent --> |
| 186 |
<!ENTITY igrave "ì" -- small i, grave accent --> |
| 187 |
<!ENTITY iuml "ï" -- small i, dieresis or umlaut mark --> |
| 188 |
<!ENTITY lt "<" -- less than --> |
| 189 |
<!ENTITY nbsp " " -- should be NON_BREAKING space --> |
| 190 |
<!ENTITY ntilde "ñ" -- small n, tilde --> |
| 191 |
<!ENTITY oacute "ó" -- small o, acute accent --> |
| 192 |
<!ENTITY ocirc "ô" -- small o, circumflex accent --> |
| 193 |
<!ENTITY ograve "ò" -- small o, grave accent --> |
| 194 |
<!ENTITY oslash "ø" -- small o, slash --> |
| 195 |
<!ENTITY otilde "õ" -- small o, tilde --> |
| 196 |
<!ENTITY ouml "ö" -- small o, dieresis or umlaut mark --> |
| 197 |
<!ENTITY szlig "ß" -- small sharp s, German (sz ligature) --> |
| 198 |
<!ENTITY thorn "þ" -- small thorn, Icelandic --> |
| 199 |
<!ENTITY uacute "ú" -- small u, acute accent --> |
| 200 |
<!ENTITY ucirc "û" -- small u, circumflex accent --> |
| 201 |
<!ENTITY ugrave "ù" -- small u, grave accent --> |
| 202 |
<!ENTITY uuml "ü" -- small u, dieresis or umlaut mark --> |
| 203 |
<!ENTITY yacute "ý" -- small y, acute accent --> |
| 204 |
<!ENTITY yuml "ÿ" -- small y, dieresis or umlaut mark --> |
| 205 |
|
| 206 |
<!-- deprecated elements --> |
| 207 |
|
| 208 |
<!ELEMENT (%literal) - - CDATA> |
| 209 |
|
| 210 |
<!ELEMENT PLAINTEXT - O EMPTY> |
| 211 |
|
| 212 |
<!-- Local Variables: --> |
| 213 |
<!-- mode: sgml --> |
| 214 |
<!-- compile-command: "sgmls -s -p " --> |
| 215 |
<!-- end: --> |