/[suikacvs]/test/html.dtd
Suika

Contents of /test/html.dtd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7.2.2 - (hide annotations) (download)
Fri Apr 1 20:30:17 1994 UTC (30 years, 8 months ago) by connolly
Branch: connolly
Changes since 1.7.2.1: +38 -95 lines
Changed P, LI, DT, DD from EMPTY to containers.

Changed BODY, DL, etc. to have ELEMENT content.

Changed lists to allow embeded lists.

Removed NEXTID element -- should be a processing instruction.

Note: The BR feature should be represented as an entity &br;
that expands to a processing instruction <? break line>
rather than an element <br>.

The PRE style newline handling should be a different
NOTATION.

Changed content model of %inline elements to inlcude A.

Changed content model of A to ANY.

B, I, U, TT only allowed inside PRE. EM, STRONG, etc.
not allowed inside PRE.

ISOLat1 stuff moved to separate file.

removed emacs local variables.

1 connolly 1.7.2.2 <!-- html.dtd
2 connolly 1.7
3 connolly 1.7.2.2 Document Type Definition for the HyperText Markup Language
4     as used by the World Wide Web application (HTML DTD).
5    
6     $Id: html.dtd,v 1.7 1994/04/01 19:21:25 connolly Exp $
7     -->
8    
9    
10 connolly 1.3 <!-- DTD definitions -->
11    
12 connolly 1.2 <!ENTITY % heading "H1|H2|H3|H4|H5|H6" >
13 connolly 1.6 <!ENTITY % list " UL | OL | DIR | MENU ">
14     <!ENTITY % literal " XMP | LISTING ">
15 connolly 1.2
16     <!ENTITY % bodyelement
17 connolly 1.6 "P | HR | %heading |
18     %list | DL | ADDRESS | PRE | BLOCKQUOTE
19     | %literal">
20 connolly 1.3
21 connolly 1.6 <!ENTITY % URL "CDATA"
22     -- The term URL means a CDATA attribute
23     whose value is a Uniform Resource Locator,
24     as defined. (A URN may also be usable here when defined.)
25     -->
26    
27     <!ENTITY % linkattributes
28     "NAME NMTOKEN #IMPLIED
29     HREF %URL; #IMPLIED
30     REL CDATA #IMPLIED -- forward relationship type --
31     REV CDATA #IMPLIED -- reversed relationship type
32     to referent data:
33    
34     PARENT CHILD, SIBLING, NEXT, TOP,
35     DEFINITION, UPDATE, ORIGINAL etc. --
36    
37     URN CDATA #IMPLIED -- universal resource number --
38    
39     TITLE CDATA #IMPLIED -- advisory only --
40 connolly 1.5
41 connolly 1.6 METHODS NAMES #IMPLIED -- supported public methods of the object:
42     TEXTSEARCH, GET, HEAD, ... --
43 connolly 1.3
44 connolly 1.6 ">
45    
46    
47 connolly 1.4 <!-- Document Element -->
48 connolly 1.2
49 connolly 1.7.2.1 <!ELEMENT HTML O O (HEAD, BODY)>
50 connolly 1.6
51 connolly 1.7.2.1 <!ELEMENT HEAD O O ( TITLE? & ISINDEX? & NEXTID? & LINK*
52 connolly 1.6 & BASE?)>
53 connolly 1.2
54 connolly 1.7.2.1 <!ELEMENT TITLE - - (#PCDATA)
55 connolly 1.6 -- The TITLE element is not considered part of the flow of text.
56     It should be displayed, for example as the page header or
57     window title.
58     -->
59 connolly 1.2
60     <!ELEMENT ISINDEX - O EMPTY
61 connolly 1.6 -- WWW clients should offer the option to perform a search on
62     documents containing ISINDEX.
63     -->
64    
65     <!ELEMENT LINK - O EMPTY>
66     <!ATTLIST LINK
67     %linkattributes>
68    
69     <!ELEMENT BASE - O EMPTY -- Reference context for URLS -->
70     <!ATTLIST BASE
71    
72     HREF %URL; #IMPLIED
73    
74     >
75 connolly 1.7.2.2 <!ENTITY % inline "EM | STRONG |
76 connolly 1.6 CODE | SAMP | KBD | KEY | VAR | DFN | CITE "
77     >
78 connolly 1.3
79 connolly 1.7.2.2 <!ELEMENT (%inline;) - - (#PCDATA | A)+>
80 connolly 1.3
81 connolly 1.7.2.2 <!ENTITY % text "#PCDATA | IMG | %inline; | BR">
82 connolly 1.6
83     <!ENTITY % htext "A | %text" -- Plus links, no structure -->
84 connolly 1.4
85 connolly 1.6 <!ENTITY % stext -- as htext but also nested structure --
86     "P | HR | %list | DL | ADDRESS
87     | PRE | BLOCKQUOTE
88     | %literal | %htext">
89 connolly 1.5
90 connolly 1.7.2.2 <!ENTITY % block -- as htext but also nested structure --
91     "P | HR | %list | DL
92     | PRE | BLOCKQUOTE
93     | %literal">
94    
95 connolly 1.6
96 connolly 1.7.2.2 <!ELEMENT BODY O O (%heading | %block)+>
97 connolly 1.6
98 connolly 1.4
99 connolly 1.7.2.2 <!ELEMENT A - - ANY>
100 connolly 1.4 <!ATTLIST A
101 connolly 1.6 %linkattributes;
102     >
103    
104     <!ELEMENT IMG - O EMPTY -- Embedded image -->
105     <!ATTLIST IMG
106     SRC %URL; #IMPLIED -- URL of document to embed --
107     >
108    
109    
110 connolly 1.7.2.2 <!ELEMENT P - O (%htext)+ -- paragraph -->
111     <!ELEMENT (HR|BR) - O EMPTY -- horizontal rule -->
112 connolly 1.6
113     <!ELEMENT ( %heading ) - - (%htext;)+>
114    
115 connolly 1.7.2.2 <!ELEMENT DL - - (DT+, DD)+>
116     <!-- structured DL's
117 connolly 1.2 -->
118 connolly 1.6
119 connolly 1.7.2.2 <!ELEMENT DT - O (%htext)+>
120     <!ELEMENT DD - O (%htext|%block)+>
121 connolly 1.6
122 connolly 1.7.2.2 <!ELEMENT (%list) - - (LI)+>
123    
124 connolly 1.5 <!ATTLIST (%list)
125 connolly 1.6 COMPACT NAME #IMPLIED -- COMPACT, etc.--
126     >
127 connolly 1.2
128 connolly 1.7.2.2 <!ELEMENT LI - O (%htext|%block)+>
129 connolly 1.2
130 connolly 1.7.2.2 <!ELEMENT BLOCKQUOTE - - (P+, ADDRESS?)+
131 connolly 1.6 -- for quoting some other source -->
132 connolly 1.3
133 connolly 1.7.2.2 <!ELEMENT ADDRESS - - (%htext;)+>
134 connolly 1.2
135 connolly 1.7.2.2 <!ELEMENT PRE - - (#PCDATA | TT | B | I | U | A | P | BR)+>
136 connolly 1.2 <!ATTLIST PRE
137 connolly 1.6 WIDTH NUMBER #implied
138 connolly 1.2 >
139    
140 connolly 1.6 <!-- Mnemonic character entities. -->
141 connolly 1.7.2.2
142     <!ENTITY % ISOlat1 PUBLIC
143     "ISO 8879:1986//ENTITIES Added Latin 1//EN">
144     %ISOlat1;
145    
146 connolly 1.6 <!ENTITY amp "&#38;" -- ampersand -->
147     <!ENTITY gt "&#62;" -- greater than -->
148     <!ENTITY lt "&#60;" -- less than -->
149 connolly 1.7.2.2 <!ENTITY nbsp "&#32;" -- @@should be NON_BREAKING space -->
150     <!-- @@ should add entites for processing instructions
151     for line break, centering, etc. -->
152 connolly 1.6
153 connolly 1.3 <!-- deprecated elements -->
154    
155 connolly 1.6 <!ELEMENT (%literal) - - CDATA>
156 connolly 1.2
157     <!ELEMENT PLAINTEXT - O EMPTY>
158    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24