/[suikacvs]/test/html.dtd
Suika

Diff of /test/html.dtd

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by connolly, Wed Feb 3 21:30:13 1993 UTC revision 1.7.2.1 by connolly, Fri Apr 1 20:07:22 1994 UTC
# Line 1  Line 1 
1  <!--  <!-- Jul 1 93 version, minus backward-compatibility stuff. -->
  $Id$  
 -->  
   
 <!--    Regarding clause 6.1, SGML Document:  
   
         [1] SGML document = SGML document entity,  
             (SGML subdocument entity |  
             SGML text entity | non-SGML data entity)*  
   
         The role of SGML document entity is filled by this DTD,  
         followed by the conventional HTML data stream.  
 -->  
2    
3  <!-- DTD definitions -->  <!-- DTD definitions -->
4    
5  <!ENTITY % heading "H1|H2|H3|H4|H5|H6" >  <!ENTITY % heading "H1|H2|H3|H4|H5|H6" >
6  <!ENTITY % list "UL|OL|DIR|MENU">  <!ENTITY % list " UL | OL | DIR | MENU ">
7  <!ENTITY % literal "XMP|LISTING">  <!ENTITY % literal " XMP | LISTING ">
   
 <!ENTITY % headelement  
          "TITLE | NEXTID | ISINDEX" >  
8    
9  <!ENTITY % bodyelement  <!ENTITY % bodyelement
10           "P | %heading |           "P | HR | %heading |
11           %list | DL | HEADERS | ADDRESS | PRE | BLOCKQUOTE           %list | DL | ADDRESS | PRE | BLOCKQUOTE
12          | %literal">          | %literal">
13    
 <!ENTITY % oldstyle "%headelement | %bodyelement | #PCDATA">  
14  <!ENTITY % URL "CDATA"  <!ENTITY % URL "CDATA"
15          -- The term URL means a CDATA attribute          -- The term URL means a CDATA attribute
16             whose value is a Universal Resource Locator,             whose value is a Uniform Resource Locator,
17             as defined in ftp://info.cern.ch/pub/www/doc/url3.txt             as defined. (A URN may also be usable here when defined.)
18          -->          -->
19    
20  <!ENTITY % linkattributes  <!ENTITY % linkattributes
21          "NAME NMTOKEN #IMPLIED          "NAME NMTOKEN #IMPLIED
22          HREF %URL; #IMPLIED          HREF %URL;  #IMPLIED
23          TYPE NAME #IMPLIED -- type of relashionship to referent data:          REL CDATA #IMPLIED -- forward relationship type --
24            REV CDATA #IMPLIED -- reversed relationship type
25                                  to referent data:
26    
27                                  PARENT CHILD, SIBLING, NEXT, TOP,                                  PARENT CHILD, SIBLING, NEXT, TOP,
28                                   DEFINITION, UPDATE, ORIGINAL etc. --                                  DEFINITION, UPDATE, ORIGINAL etc. --
29          URN CDATA #IMPLIED -- universal resource number. unique doc id --  
30            URN CDATA #IMPLIED -- universal resource number --
31    
32          TITLE CDATA #IMPLIED -- advisory only --          TITLE CDATA #IMPLIED -- advisory only --
33          METHODS NAMES #IMPLIED -- supported methods of the object:  
34            METHODS NAMES #IMPLIED -- supported public methods of the object:
35                                          TEXTSEARCH, GET, HEAD, ... --                                          TEXTSEARCH, GET, HEAD, ... --
36    
37          ">          ">
38    
39    
40  <!-- Document Element -->  <!-- Document Element -->
41    
42  <!ELEMENT HTML O O  ((HEAD | BODY | %oldstyle)*, PLAINTEXT?)>  <!ELEMENT HTML O O  (HEAD, BODY)>
43    
44  <!ELEMENT HEAD - -  (TITLE? & ISINDEX? & NEXTID? & LINK*)>  <!ELEMENT HEAD O O  ( TITLE?  & ISINDEX?  & NEXTID?  & LINK*
45                                  & BASE?)>
46    
47  <!ELEMENT TITLE - -  RCDATA  <!ELEMENT TITLE - -  (#PCDATA)
48            -- The TITLE element is not considered part of the flow of text.            -- The TITLE element is not considered part of the flow of text.
49               It should be displayed, for example as the page header or               It should be displayed, for example as the page header or
50               window title.               window title.
# Line 61  Line 54 
54            -- WWW clients should offer the option to perform a search on            -- WWW clients should offer the option to perform a search on
55               documents containing ISINDEX.               documents containing ISINDEX.
56            -->            -->
57    
58  <!ELEMENT NEXTID - O EMPTY>  <!ELEMENT NEXTID - O EMPTY>
59  <!ATTLIST NEXTID N NUMBER #REQUIRED  <!ATTLIST NEXTID N NAME #REQUIRED
60            -- The number should be the highest number that appears in            -- The number should be a name suitable for use
61               any NAME attribute in the document.               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>  <!ELEMENT LINK - O EMPTY>
65  <!ATTLIST LINK  <!ATTLIST LINK
66          %linkattributes>          %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 |  <!ENTITY % inline "EM | TT | STRONG | B | I | U |
75                          CODE | SAMP | KBD | KEY | VAR | DFN | CITE "                          CODE | SAMP | KBD | KEY | VAR | DFN | CITE "
76          >          >
77    
78  <!ELEMENT (%inline;) - - (#PCDATA)>  <!ELEMENT (%inline;) - - (#PCDATA)>
79    
80  <!ENTITY % hypertext "#PCDATA | %inline; | A">  <!ENTITY % text "#PCDATA | IMG | %inline;">
81    
82  <!ELEMENT BODY - -  (%bodyelement|%hypertext;)*>  <!ENTITY % htext "A | %text"    -- Plus links, no structure -->
83    
84  <!ELEMENT A     - -  (#PCDATA)>  <!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  <!ATTLIST A
95          %linkattributes;          %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 -->  <!ELEMENT P     - O EMPTY -- separates paragraphs -->
105    <!ELEMENT HR    - O EMPTY -- horizontal rule -->
106    
107  <!ELEMENT (%heading)    - -  (%hypertext;)+>  <!ELEMENT ( %heading )  - -  (%htext;)+>
108    
109  <!ELEMENT DL    - -  (DT | DD | P | %hypertext;)*>  <!ELEMENT DL    - -  (DT | DD | %stext;)*>
110  <!--    Content should match ((DT,(%hypertext;)+)+,(DD,(%hypertext;)+))  <!--    Content should match ((DT,(%htext;)+)+,(DD,(%stext;)+))
111          But mixed content is messy.          But mixed content is messy.  -Dan Connolly
112    -->    -->
113  <!ATTLIST DL  
         STYLE NAME #IMPLIED -- COMPACT, etc.--  
         >  
   
114  <!ELEMENT DT    - O EMPTY>  <!ELEMENT DT    - O EMPTY>
115  <!ELEMENT DD    - O EMPTY>  <!ELEMENT DD    - O EMPTY>
116    
117  <!ELEMENT (UL|OL) - -  (%hypertext;|LI|P)+>  <!ELEMENT (UL|OL) - -  (%htext;|LI|P)+>
118  <!ELEMENT (DIR|MENU) - -  (%hypertext;|LI)+>  <!ELEMENT (DIR|MENU) - -  (%htext;|LI)+>
119  <!--    Content should match ((LI,(%hypertext;)+)+)  <!--    Content should match ((LI,(%htext;)+)+)
120          But mixed content is messy.          But mixed content is messy.
121    -->    -->
122    <!ATTLIST (%list)
123            COMPACT NAME #IMPLIED -- COMPACT, etc.--
124            >
125    
126  <!ELEMENT LI    - O EMPTY>  <!ELEMENT LI    - O EMPTY>
127    
128  <!ELEMENT BLOCKQUOTE - - (%hypertext;|P)+  <!ELEMENT BLOCKQUOTE - - (%htext;|P)+
129          -- for quoting some other source -->          -- for quoting some other source -->
 <!ATTLIST BLOCKQUOTE  
         SOURCE CDATA #IMPLIED -- URL of source --  
         >  
130    
131  <!ELEMENT ADDRESS - - (%hypertext;|P)+>  <!ELEMENT ADDRESS - - (%htext;|P)+>
132    
133  <!ELEMENT PRE - - (#PCDATA | A | B | I | U | P)+>  <!ELEMENT PRE - - (#PCDATA|%inline|A|P)+>
134  <!ATTLIST PRE  <!ATTLIST PRE
135          WIDTH NUMBER #implied          WIDTH NUMBER #implied
136          >          >
137    
   
138  <!-- Mnemonic character entities. -->  <!-- Mnemonic character entities. -->
139  <!ENTITY AElig "&#198;" -- capital AE diphthong (ligature) -->  <!ENTITY AElig "&#198;"  -- capital AE diphthong (ligature) -->
140  <!ENTITY Aacute "&#193;" -- capital A, acute accent -->  <!ENTITY Aacute "&#193;" -- capital A, acute accent -->
141  <!ENTITY Acirc "&#194;" -- capital A, circumflex accent -->  <!ENTITY Acirc "&#194;"  -- capital A, circumflex accent -->
142  <!ENTITY Agrave "&#192;" -- capital A, grave accent -->  <!ENTITY Agrave "&#192;" -- capital A, grave accent -->
143  <!ENTITY Aring "&#197;" -- capital A, ring -->  <!ENTITY Aring "&#197;"  -- capital A, ring -->
144  <!ENTITY Atilde "&#195;" -- capital A, tilde -->  <!ENTITY Atilde "&#195;" -- capital A, tilde -->
145  <!ENTITY Auml "&#196;" -- capital A, dieresis or umlaut mark -->  <!ENTITY Auml "&#196;"   -- capital A, dieresis or umlaut mark -->
146  <!ENTITY Ccedil "&#199;" -- capital C, cedilla -->  <!ENTITY Ccedil "&#199;" -- capital C, cedilla -->
147  <!ENTITY ETH "&#208;" -- capital Eth, Icelandic -->  <!ENTITY ETH "&#208;"    -- capital Eth, Icelandic -->
148  <!ENTITY Eacute "&#201;" -- capital E, acute accent -->  <!ENTITY Eacute "&#201;" -- capital E, acute accent -->
149  <!ENTITY Ecirc "&#202;" -- capital E, circumflex accent -->  <!ENTITY Ecirc "&#202;"  -- capital E, circumflex accent -->
150  <!ENTITY Egrave "&#200;" -- capital E, grave accent -->  <!ENTITY Egrave "&#200;" -- capital E, grave accent -->
151  <!ENTITY Euml "&#203;" -- capital E, dieresis or umlaut mark -->  <!ENTITY Euml "&#203;"   -- capital E, dieresis or umlaut mark -->
152  <!ENTITY Iacute "&#205;" -- capital I, acute accent -->  <!ENTITY Iacute "&#205;" -- capital I, acute accent -->
153  <!ENTITY Icirc "&#206;" -- capital I, circumflex accent -->  <!ENTITY Icirc "&#206;"  -- capital I, circumflex accent -->
154  <!ENTITY Igrave "&#204;" -- capital I, grave accent -->  <!ENTITY Igrave "&#204;" -- capital I, grave accent -->
155  <!ENTITY Iuml "&#207;" -- capital I, dieresis or umlaut mark -->  <!ENTITY Iuml "&#207;"   -- capital I, dieresis or umlaut mark -->
156  <!ENTITY Ntilde "&#209;" -- capital N, tilde -->  <!ENTITY Ntilde "&#209;" -- capital N, tilde -->
157  <!ENTITY Oacute "&#211;" -- capital O, acute accent -->  <!ENTITY Oacute "&#211;" -- capital O, acute accent -->
158  <!ENTITY Ocirc "&#212;" -- capital O, circumflex accent -->  <!ENTITY Ocirc "&#212;"  -- capital O, circumflex accent -->
159  <!ENTITY Ograve "&#210;" -- capital O, grave accent -->  <!ENTITY Ograve "&#210;" -- capital O, grave accent -->
160  <!ENTITY Oslash "&#216;" -- capital O, slash -->  <!ENTITY Oslash "&#216;" -- capital O, slash -->
161  <!ENTITY Otilde "&#213;" -- capital O, tilde -->  <!ENTITY Otilde "&#213;" -- capital O, tilde -->
162  <!ENTITY Ouml "&#214;" -- capital O, dieresis or umlaut mark -->  <!ENTITY Ouml "&#214;"   -- capital O, dieresis or umlaut mark -->
163  <!ENTITY THORN "&#222;" -- capital THORN, Icelandic -->  <!ENTITY THORN "&#222;"  -- capital THORN, Icelandic -->
164  <!ENTITY Uacute "&#218;" -- capital U, acute accent -->  <!ENTITY Uacute "&#218;" -- capital U, acute accent -->
165  <!ENTITY Ucirc "&#219;" -- capital U, circumflex accent -->  <!ENTITY Ucirc "&#219;"  -- capital U, circumflex accent -->
166  <!ENTITY Ugrave "&#217;" -- capital U, grave accent -->  <!ENTITY Ugrave "&#217;" -- capital U, grave accent -->
167  <!ENTITY Uuml "&#220;" -- capital U, dieresis or umlaut mark -->  <!ENTITY Uuml "&#220;"   -- capital U, dieresis or umlaut mark -->
168  <!ENTITY Yacute "&#221;" -- capital Y, acute accent -->  <!ENTITY Yacute "&#221;" -- capital Y, acute accent -->
169  <!ENTITY aacute "&#225;" -- small a, acute accent -->  <!ENTITY aacute "&#225;" -- small a, acute accent -->
170  <!ENTITY acirc "&#226;" -- small a, circumflex accent -->  <!ENTITY acirc "&#226;"  -- small a, circumflex accent -->
171  <!ENTITY aelig "&#230;" -- small ae diphthong (ligature) -->  <!ENTITY aelig "&#230;"  -- small ae diphthong (ligature) -->
172  <!ENTITY agrave "&#224;" -- small a, grave accent -->  <!ENTITY agrave "&#224;" -- small a, grave accent -->
173  <!ENTITY amp "&#38;" -- ampersand -->  <!ENTITY amp "&#38;"     -- ampersand -->
174  <!ENTITY aring "&#229;" -- small a, ring -->  <!ENTITY aring "&#229;"  -- small a, ring -->
175  <!ENTITY atilde "&#227;" -- small a, tilde -->  <!ENTITY atilde "&#227;" -- small a, tilde -->
176  <!ENTITY auml "&#228;" -- small a, dieresis or umlaut mark -->  <!ENTITY auml "&#228;"   -- small a, dieresis or umlaut mark -->
177  <!ENTITY ccedil "&#231;" -- small c, cedilla -->  <!ENTITY ccedil "&#231;" -- small c, cedilla -->
178  <!ENTITY eacute "&#233;" -- small e, acute accent -->  <!ENTITY eacute "&#233;" -- small e, acute accent -->
179  <!ENTITY ecirc "&#234;" -- small e, circumflex accent -->  <!ENTITY ecirc "&#234;"  -- small e, circumflex accent -->
180  <!ENTITY egrave "&#232;" -- small e, grave accent -->  <!ENTITY egrave "&#232;" -- small e, grave accent -->
181  <!ENTITY eth "&#240;" -- small eth, Icelandic -->  <!ENTITY eth "&#240;"    -- small eth, Icelandic -->
182  <!ENTITY euml "&#235;" -- small e, dieresis or umlaut mark -->  <!ENTITY euml "&#235;"   -- small e, dieresis or umlaut mark -->
183  <!ENTITY gt "&#62;" -- greater than -->  <!ENTITY gt "&#62;"      -- greater than -->
184  <!ENTITY iacute "&#237;" -- small i, acute accent -->  <!ENTITY iacute "&#237;" -- small i, acute accent -->
185  <!ENTITY icirc "&#238;" -- small i, circumflex accent -->  <!ENTITY icirc "&#238;"  -- small i, circumflex accent -->
186  <!ENTITY igrave "&#236;" -- small i, grave accent -->  <!ENTITY igrave "&#236;" -- small i, grave accent -->
187  <!ENTITY iuml "&#239;" -- small i, dieresis or umlaut mark -->  <!ENTITY iuml "&#239;"   -- small i, dieresis or umlaut mark -->
188  <!ENTITY lt "&#60;" -- less than -->  <!ENTITY lt "&#60;"      -- less than -->
189    <!ENTITY nbsp "&#32;"    --  should be NON_BREAKING space -->
190  <!ENTITY ntilde "&#241;" -- small n, tilde -->  <!ENTITY ntilde "&#241;" -- small n, tilde -->
191  <!ENTITY oacute "&#243;" -- small o, acute accent -->  <!ENTITY oacute "&#243;" -- small o, acute accent -->
192  <!ENTITY ocirc "&#244;" -- small o, circumflex accent -->  <!ENTITY ocirc "&#244;"  -- small o, circumflex accent -->
193  <!ENTITY ograve "&#242;" -- small o, grave accent -->  <!ENTITY ograve "&#242;" -- small o, grave accent -->
194  <!ENTITY oslash "&#248;" -- small o, slash -->  <!ENTITY oslash "&#248;" -- small o, slash -->
195  <!ENTITY otilde "&#245;" -- small o, tilde -->  <!ENTITY otilde "&#245;" -- small o, tilde -->
196  <!ENTITY ouml "&#246;" -- small o, dieresis or umlaut mark -->  <!ENTITY ouml "&#246;"   -- small o, dieresis or umlaut mark -->
197  <!ENTITY szlig "&#223;" -- small sharp s, German (sz ligature) -->  <!ENTITY szlig "&#223;"  -- small sharp s, German (sz ligature) -->
198  <!ENTITY thorn "&#254;" -- small thorn, Icelandic -->  <!ENTITY thorn "&#254;"  -- small thorn, Icelandic -->
199  <!ENTITY uacute "&#250;" -- small u, acute accent -->  <!ENTITY uacute "&#250;" -- small u, acute accent -->
200  <!ENTITY ucirc "&#251;" -- small u, circumflex accent -->  <!ENTITY ucirc "&#251;"  -- small u, circumflex accent -->
201  <!ENTITY ugrave "&#249;" -- small u, grave accent -->  <!ENTITY ugrave "&#249;" -- small u, grave accent -->
202  <!ENTITY uuml "&#252;" -- small u, dieresis or umlaut mark -->  <!ENTITY uuml "&#252;"   -- small u, dieresis or umlaut mark -->
203  <!ENTITY yacute "&#253;" -- small y, acute accent -->  <!ENTITY yacute "&#253;" -- small y, acute accent -->
204  <!ENTITY yuml "&#255;" -- small y, dieresis or umlaut mark -->  <!ENTITY yuml "&#255;"   -- small y, dieresis or umlaut mark -->
205    
206  <!-- deprecated elements -->  <!-- deprecated elements -->
207    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.7.2.1

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24