/[suikacvs]/test/html.dtd
Suika

Contents of /test/html.dtd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7.2.1 - (hide annotations) (download)
Fri Apr 1 20:07:22 1994 UTC (30 years, 7 months ago) by connolly
Branch: connolly
Changes since 1.7: +5 -16 lines
took out a few obsolete features... moved them to html-compat-doc.sgml

1 connolly 1.7.2.1 <!-- Jul 1 93 version, minus backward-compatibility stuff. -->
2 connolly 1.7
3 connolly 1.3 <!-- DTD definitions -->
4    
5 connolly 1.2 <!ENTITY % heading "H1|H2|H3|H4|H5|H6" >
6 connolly 1.6 <!ENTITY % list " UL | OL | DIR | MENU ">
7     <!ENTITY % literal " XMP | LISTING ">
8 connolly 1.2
9     <!ENTITY % bodyelement
10 connolly 1.6 "P | HR | %heading |
11     %list | DL | ADDRESS | PRE | BLOCKQUOTE
12     | %literal">
13 connolly 1.3
14 connolly 1.6 <!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 connolly 1.5
34 connolly 1.6 METHODS NAMES #IMPLIED -- supported public methods of the object:
35     TEXTSEARCH, GET, HEAD, ... --
36 connolly 1.3
37 connolly 1.6 ">
38    
39    
40 connolly 1.4 <!-- Document Element -->
41 connolly 1.2
42 connolly 1.7.2.1 <!ELEMENT HTML O O (HEAD, BODY)>
43 connolly 1.6
44 connolly 1.7.2.1 <!ELEMENT HEAD O O ( TITLE? & ISINDEX? & NEXTID? & LINK*
45 connolly 1.6 & BASE?)>
46 connolly 1.2
47 connolly 1.7.2.1 <!ELEMENT TITLE - - (#PCDATA)
48 connolly 1.6 -- 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 connolly 1.2
53     <!ELEMENT ISINDEX - O EMPTY
54 connolly 1.6 -- WWW clients should offer the option to perform a search on
55     documents containing ISINDEX.
56     -->
57    
58 connolly 1.2 <!ELEMENT NEXTID - O EMPTY>
59 connolly 1.6 <!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 connolly 1.3 <!ENTITY % inline "EM | TT | STRONG | B | I | U |
75 connolly 1.6 CODE | SAMP | KBD | KEY | VAR | DFN | CITE "
76     >
77 connolly 1.3
78     <!ELEMENT (%inline;) - - (#PCDATA)>
79    
80 connolly 1.6 <!ENTITY % text "#PCDATA | IMG | %inline;">
81    
82     <!ENTITY % htext "A | %text" -- Plus links, no structure -->
83 connolly 1.4
84 connolly 1.6 <!ENTITY % stext -- as htext but also nested structure --
85     "P | HR | %list | DL | ADDRESS
86     | PRE | BLOCKQUOTE
87     | %literal | %htext">
88 connolly 1.5
89 connolly 1.6
90 connolly 1.7.2.1 <!ELEMENT BODY O O (%bodyelement|%htext;)*>
91 connolly 1.6
92 connolly 1.4
93 connolly 1.6 <!ELEMENT A - - (%text)>
94 connolly 1.4 <!ATTLIST A
95 connolly 1.6 %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 connolly 1.2 -->
113 connolly 1.6
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 connolly 1.2 -->
122 connolly 1.5 <!ATTLIST (%list)
123 connolly 1.6 COMPACT NAME #IMPLIED -- COMPACT, etc.--
124     >
125 connolly 1.2
126 connolly 1.6 <!ELEMENT LI - O EMPTY>
127 connolly 1.2
128 connolly 1.6 <!ELEMENT BLOCKQUOTE - - (%htext;|P)+
129     -- for quoting some other source -->
130 connolly 1.3
131 connolly 1.6 <!ELEMENT ADDRESS - - (%htext;|P)+>
132 connolly 1.2
133 connolly 1.6 <!ELEMENT PRE - - (#PCDATA|%inline|A|P)+>
134 connolly 1.2 <!ATTLIST PRE
135 connolly 1.6 WIDTH NUMBER #implied
136 connolly 1.2 >
137    
138 connolly 1.6 <!-- Mnemonic character entities. -->
139     <!ENTITY AElig "&#198;" -- capital AE diphthong (ligature) -->
140     <!ENTITY Aacute "&#193;" -- capital A, acute accent -->
141     <!ENTITY Acirc "&#194;" -- capital A, circumflex accent -->
142     <!ENTITY Agrave "&#192;" -- capital A, grave accent -->
143     <!ENTITY Aring "&#197;" -- capital A, ring -->
144     <!ENTITY Atilde "&#195;" -- capital A, tilde -->
145     <!ENTITY Auml "&#196;" -- capital A, dieresis or umlaut mark -->
146     <!ENTITY Ccedil "&#199;" -- capital C, cedilla -->
147     <!ENTITY ETH "&#208;" -- capital Eth, Icelandic -->
148     <!ENTITY Eacute "&#201;" -- capital E, acute accent -->
149     <!ENTITY Ecirc "&#202;" -- capital E, circumflex accent -->
150     <!ENTITY Egrave "&#200;" -- capital E, grave accent -->
151     <!ENTITY Euml "&#203;" -- capital E, dieresis or umlaut mark -->
152     <!ENTITY Iacute "&#205;" -- capital I, acute accent -->
153     <!ENTITY Icirc "&#206;" -- capital I, circumflex accent -->
154     <!ENTITY Igrave "&#204;" -- capital I, grave accent -->
155     <!ENTITY Iuml "&#207;" -- capital I, dieresis or umlaut mark -->
156     <!ENTITY Ntilde "&#209;" -- capital N, tilde -->
157     <!ENTITY Oacute "&#211;" -- capital O, acute accent -->
158     <!ENTITY Ocirc "&#212;" -- capital O, circumflex accent -->
159     <!ENTITY Ograve "&#210;" -- capital O, grave accent -->
160     <!ENTITY Oslash "&#216;" -- capital O, slash -->
161     <!ENTITY Otilde "&#213;" -- capital O, tilde -->
162     <!ENTITY Ouml "&#214;" -- capital O, dieresis or umlaut mark -->
163     <!ENTITY THORN "&#222;" -- capital THORN, Icelandic -->
164     <!ENTITY Uacute "&#218;" -- capital U, acute accent -->
165     <!ENTITY Ucirc "&#219;" -- capital U, circumflex accent -->
166     <!ENTITY Ugrave "&#217;" -- capital U, grave accent -->
167     <!ENTITY Uuml "&#220;" -- capital U, dieresis or umlaut mark -->
168     <!ENTITY Yacute "&#221;" -- capital Y, acute accent -->
169     <!ENTITY aacute "&#225;" -- small a, acute accent -->
170     <!ENTITY acirc "&#226;" -- small a, circumflex accent -->
171     <!ENTITY aelig "&#230;" -- small ae diphthong (ligature) -->
172     <!ENTITY agrave "&#224;" -- small a, grave accent -->
173     <!ENTITY amp "&#38;" -- ampersand -->
174     <!ENTITY aring "&#229;" -- small a, ring -->
175     <!ENTITY atilde "&#227;" -- small a, tilde -->
176     <!ENTITY auml "&#228;" -- small a, dieresis or umlaut mark -->
177     <!ENTITY ccedil "&#231;" -- small c, cedilla -->
178     <!ENTITY eacute "&#233;" -- small e, acute accent -->
179     <!ENTITY ecirc "&#234;" -- small e, circumflex accent -->
180     <!ENTITY egrave "&#232;" -- small e, grave accent -->
181     <!ENTITY eth "&#240;" -- small eth, Icelandic -->
182     <!ENTITY euml "&#235;" -- small e, dieresis or umlaut mark -->
183     <!ENTITY gt "&#62;" -- greater than -->
184     <!ENTITY iacute "&#237;" -- small i, acute accent -->
185     <!ENTITY icirc "&#238;" -- small i, circumflex accent -->
186     <!ENTITY igrave "&#236;" -- small i, grave accent -->
187     <!ENTITY iuml "&#239;" -- small i, dieresis or umlaut mark -->
188     <!ENTITY lt "&#60;" -- less than -->
189     <!ENTITY nbsp "&#32;" -- should be NON_BREAKING space -->
190     <!ENTITY ntilde "&#241;" -- small n, tilde -->
191     <!ENTITY oacute "&#243;" -- small o, acute accent -->
192     <!ENTITY ocirc "&#244;" -- small o, circumflex accent -->
193     <!ENTITY ograve "&#242;" -- small o, grave accent -->
194     <!ENTITY oslash "&#248;" -- small o, slash -->
195     <!ENTITY otilde "&#245;" -- small o, tilde -->
196     <!ENTITY ouml "&#246;" -- small o, dieresis or umlaut mark -->
197     <!ENTITY szlig "&#223;" -- small sharp s, German (sz ligature) -->
198     <!ENTITY thorn "&#254;" -- small thorn, Icelandic -->
199     <!ENTITY uacute "&#250;" -- small u, acute accent -->
200     <!ENTITY ucirc "&#251;" -- small u, circumflex accent -->
201     <!ENTITY ugrave "&#249;" -- small u, grave accent -->
202     <!ENTITY uuml "&#252;" -- small u, dieresis or umlaut mark -->
203     <!ENTITY yacute "&#253;" -- small y, acute accent -->
204     <!ENTITY yuml "&#255;" -- small y, dieresis or umlaut mark -->
205    
206 connolly 1.3 <!-- deprecated elements -->
207    
208 connolly 1.6 <!ELEMENT (%literal) - - CDATA>
209 connolly 1.2
210     <!ELEMENT PLAINTEXT - O EMPTY>
211    
212 connolly 1.3 <!-- Local Variables: -->
213     <!-- mode: sgml -->
214     <!-- compile-command: "sgmls -s -p " -->
215     <!-- end: -->

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24