/[suikacvs]/test/html.dtd
Suika

Contents of /test/html.dtd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Thu Dec 3 02:04:29 1992 UTC (31 years, 11 months ago) by connolly
Branch: MAIN
checked in with -k by connolly at 1994/03/30 00:20:44

1 connolly 1.2 <!SGML "ISO 8879:1986"
2     --
3     Document Type Definition for the HyperText Markup Language
4     as used by the World Wide Web application (HTML DTD).
5    
6     NOTE: This is a definition of HTML with respect to
7     SGML, and assumes an understaning of SGML terms.
8    
9     For a description of HTML in layman's terms, see
10    
11     "HTML: A Representation for Nodes in the World Wide Web"
12     by Dan Connolly.
13    
14     aka
15    
16     http://info.cern.ch/hypertext/WWW/MarkUp/MarkUp.html
17     by <connolly@convex.com>
18     --
19    
20     CHARSET
21     BASESET "ISO 646:1983//CHARSET
22     International Reference Version (IRV)//ESC 2/5 4/0"
23     DESCSET 0 9 UNUSED
24     9 2 9
25     11 2 UNUSED
26     13 1 13
27     14 18 UNUSED
28     32 95 32
29     127 1 UNUSED
30    
31     CAPACITY SGMLREF
32     TOTALCAP 150000
33     GRPCAP 150000
34    
35     SCOPE DOCUMENT
36     SYNTAX
37     SHUNCHAR CONTROLS 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
38     19 20 21 22 23 24 25 26 27 28 29 30 31 127 255
39     BASESET "ISO 646:1983//CHARSET
40     International Reference Version (IRV)//ESC 2/5 4/0"
41     DESCSET 0 128 0
42     FUNCTION RE 13
43     RS 10
44     SPACE 32
45     TAB SEPCHAR 9
46     NAMING LCNMSTRT ""
47     UCNMSTRT ""
48     LCNMCHAR ".-"
49     UCNMCHAR ".-"
50     NAMECASE GENERAL YES
51     ENTITY NO
52     DELIM GENERAL SGMLREF
53     SHORTREF SGMLREF
54     NAMES SGMLREF
55     QUANTITY SGMLREF
56     NAMELEN 34
57     TAGLVL 100
58     LITLEN 1024
59     GRPGTCNT 150
60     GRPCNT 64
61    
62     FEATURES
63     MINIMIZE
64     DATATAG NO
65     OMITTAG YES
66     RANK NO
67     SHORTTAG NO
68     LINK
69     SIMPLE NO
70     IMPLICIT NO
71     EXPLICIT NO
72     OTHER
73     CONCUR NO
74     SUBDOC NO
75     FORMAL NO
76     APPINFO NONE
77     >
78    
79     <!DOCTYPE HTML [
80     <!--
81     $Id: html.dtd,v 1.2 92/12/02 20:04:15 connolly Exp $
82     -->
83    
84     <!-- Regarding clause 6.1, SGML Document:
85    
86     [1] SGML document = SGML document entity,
87     (SGML subdocument entity |
88     SGML text entity | non-SGML data entity)*
89    
90     The role of SGML document entity is filled by this DTD,
91     followed by the conventional HTML data stream.
92     -->
93    
94     <!ENTITY % heading "H1|H2|H3|H4|H5|H6" >
95     <!ENTITY % list "UL|OL|DIR|MENU">
96     <!ENTITY % literal "XMP|LISTING">
97    
98     <!ENTITY % headelement
99     "TITLE | NEXTID | ISINDEX" >
100    
101     <!ENTITY % bodyelement
102     "P | A | %heading | %list | DL | ADDRESS | PRE | %literal">
103    
104     <!ENTITY % anyelement "HEAD | %headelement; | BODY | %bodyelement;">
105    
106     <!ELEMENT HTML O O ((%anyelement|#PCDATA)*, PLAINTEXT?)>
107    
108     <!ELEMENT HEAD - - (TITLE? & ISINDEX? & NEXTID?)>
109    
110     <!ELEMENT BODY - - (%bodyelement|#PCDATA)*>
111    
112     <!ELEMENT TITLE - - CDATA
113     -- The TITLE element is not considered part of the flow of text.
114     It should be displayed, for example as the page header or
115     window title.
116     -->
117    
118     <!ELEMENT ISINDEX - O EMPTY
119     -- WWW clients should offer the option to perform a search on
120     documents containing ISINDEX.
121     -->
122    
123     <!ELEMENT NEXTID - O EMPTY>
124     <!ATTLIST NEXTID N NUMBER #REQUIRED
125     -- The number should be the highest number that appears in
126     any NAME attribute in the document.
127     -->
128    
129     <!ENTITY % URL "CDATA"
130     -- The term URL means a CDATA attribute
131     whose value is a Universal Resource Locator,
132     as defined in ftp://info.cern.ch/pub/www/doc/url3.txt
133     -->
134    
135     <!ELEMENT A - - (#PCDATA)>
136     <!ATTLIST A
137     NAME NMTOKEN #IMPLIED
138     HREF %URL; #IMPLIED
139     TEXT (PLAIN, X-HTML, X-RTF) #IMPLIED
140     -- choose MIME text/plain or text/html content type --
141     -- if not specified, inferred from HREF filename --
142     >
143    
144     <!ELEMENT P - O EMPTY>
145     <!-- P separates paragraphs -->
146    
147     <!ELEMENT (%heading) - - (#PCDATA|A)+>
148    
149     <!ELEMENT DL - - (DT|DD|A|P|#PCDATA)*>
150     <!-- Content should match ((DT,(A|#PCDATA)+)+,(DD,(A|#PCDATA)+))
151     But mixed content is messy.
152     -->
153    
154     <!ELEMENT DT - O EMPTY>
155     <!ELEMENT DD - O EMPTY>
156    
157     <!ELEMENT (%list) - - (#PCDATA|LI|A|P)+>
158     <!-- Content should match ((LI,(A|#PCDATA)+)+)
159     But mixed content is messy.
160     -->
161    
162     <!ELEMENT LI - O EMPTY>
163    
164     <!ELEMENT ADDRESS - - (#PCDATA|A|P)+>
165    
166     <!ELEMENT PRE - - (#PCDATA|A|P)+>
167     <!ATTLIST PRE
168     WIDTH NUMBER 80
169     >
170    
171     <!ELEMENT (%literal) - - CDATA>
172    
173     <!ELEMENT PLAINTEXT - O EMPTY>
174     <!-- The <PLAINTEXT> tag, if present, signals the end of the SGML
175     document entity. The data that follows serves as a non-SGML
176     data entity.
177     -->
178    
179     <!-- Text Entities -->
180    
181     <!-- Characters that may begin a delimiter-in-context sequence
182     From "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" -->
183     <!ENTITY lt "<">
184     <!ENTITY gt ">">
185     <!ENTITY amp "&">
186    
187     <!-- Characters from various Latin alphabets. -->
188     <!ENTITY % ISOlat1 PUBLIC
189     "ISO 8879:1986//ENTITIES Added Latin 1//EN">
190     %ISOlat1;
191    
192     ]>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24