/[pub]/test/html.dtd
Suika

Diff of /test/html.dtd

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

revision 1.7 by connolly, Fri Apr 1 19:21:25 1994 UTC revision 1.14 by connolly, Fri Jun 3 20:02:52 1994 UTC
# Line 1  Line 1 
1  <!--    html.dtd  <!--    html.dtd
2    
3          Document Type Definition for the HyperText Markup Language          Document Type Definition for the HyperText Markup Language
4          as used by the World Wide Web application (HTML DTD).          as used by the World Wide Web (HTML DTD).
5    
6          $Id$          $Id$
7    
8            Author: Daniel W. Connolly <connolly@hal.com>
9            See Also: http://www.hal.com/%7Econnolly/html-spec/HTML.html
10                      http://info.cern.ch/hypertext/WWW/MarkUp2/MarkUp.html
11  -->  -->
12    
13    <!ENTITY HTML.Version
14            "-//W3O//DTD WWW HTML 2.0//EN"
15            -- public identifier for "current pracitice" version             --
16    
17            -- Typical usage:
18    
19                <!DOCTYPE HTML PUBLIC "-//W3O//DTD WWW HTML 2.0//EN">
20                <html>
21                ...
22                </html>
23            --
24            >
25    
26    
27    <!-- Feature Test Entities -->
28    
29    <!-- To use these, write your document like:
30            <!DOCTYPE HTML [
31            <!ENTITY % HTML.Optional "INCLUDE">
32            <!ENTITY % html PUBLIC "-//connolly hal.com//DTD WWW HTML 1.8//EN">
33            %html;
34            ]>
35            <TITLE>Here's my doc</TITLE>
36            <p>It uses lots of optional features
37    
38     In practice, if you're using sgmls to validate your docs,
39     you can stick the <!DOCTYPE [...]> in a separate file and
40     validate with:
41            sgmls -s doctype.sgml foo.html
42     -->
43    
44    <!ENTITY % HTML.Level0  "IGNORE">
45    <!ENTITY % HTML.Obsolete "IGNORE">
46    <!ENTITY % HTML.Prescriptive "IGNORE">
47    
48    <![ %HTML.Level0 [
49            <!ENTITY % HTML.linkRelationships "IGNORE">
50            <!ENTITY % HTML.linkMethods "IGNORE">
51            <!ENTITY % HTML.linkRedundantInfo "IGNORE">
52            <!ENTITY % HTML.forms "IGNORE">
53            <!ENTITY % HTML.phrase "IGNORE">
54            <!ENTITY % HTML.NEXTID "IGNORE">
55            <!-- @# Are the following required for conformance? -->
56            <!-- @# nested lists -->
57            <!-- @# IMG -->
58            <!-- @# headers inside A -->
59            <!-- @# nested phrases, fonts -->
60            ]]>
61            
62    <![ %HTML.Obsolete [
63            <!ENTITY % HTML.titleCDATA "INCLUDE">
64            <!ENTITY % HTML.litCDATA "INCLUDE">
65            <!ENTITY % HTML.pSeparator "INCLUDE">
66            ]]>
67    
68    <![ %HTML.Prescriptive [
69            <!--
70            This feature test entity prescribes that certain
71            idioms detract from the structural integrity of an
72            HTML document, and are therefore disallowed.
73            -->
74            <!ENTITY % HTML.font-phrase "IGNORE">
75            <!ENTITY % HTML.anchorNameCDATA "IGNORE">
76            <!ENTITY % HTML.PLAINTEXT "IGNORE">
77            <!ENTITY % HTML.bodyBlockOnly "INCLUDE">
78            ]]>
79    
80    <!ENTITY % HTML.phrase "INCLUDE"
81            -- phrase markup, ala TeXinfo: TT, EM, etc.
82            -->
83    
84    <!ENTITY % HTML.bodyBlockOnly "IGNORE"
85            -- only allow block elements in the BODY element
86            This means all paragraphs need to start with a <P> tag.
87            -->
88    
89    <!ENTITY % HTML.pSeparator "IGNORE"
90            -- use P element as paragraph separator, rather that container.
91            -->
92    
93    <!ENTITY % HTML.linkRelationships "INCLUDE"
94            -- Adding markup to links to show the relationship between
95            ends of a link
96            see http://info.cern.ch/hypertext/WWW/MarkUp/Relationships.html
97            -->
98    
99    <!ENTITY % HTML.linkMethods "INCLUDE"
100            -- Adding markup to links to show the methods supported
101            by the referent object
102            see http://info.cern.ch/hypertext/WWW/MarkUp/Elements/A.html
103            -->
104    
105    <!ENTITY % HTML.linkRedundantInfo "INCLUDE"
106            -- Adding markup to links to give redundant information
107            like URN, content type, title...
108            -->
109    
110    <!ENTITY % HTML.anchorNameCDATA "INCLUDE"
111            -- Anchor names should be distinct. SGML parser can validate
112            this if the NAME attribute of the A element is declared as ID.
113            But that restricts the syntax of an anchor name to an SGML name,
114            i.e. a letter followed by letters, numbers, periods and dashes,
115            up to NAMELEN (34) characters long.
116            -->
117    
118    <!ENTITY % HTML.PLAINTEXT "INCLUDE"
119            -- Support for the <PLAINTEXT> tag as a sign of the
120            end of th HTML data stream and the beginning of a stream
121            of text/plain data
122            -->
123    
124    <!ENTITY % HTML.titleCDATA "IGNORE"
125            -- Is the TITLE element #PCDATA, RCDATA, or CDATA content?
126            On Mosaic, it's #PCDATA, but in the linemode browser,
127            it's more like CDATA, but not quite.
128            -->
129    
130    <!ENTITY % HTML.NEXTID "INCLUDE"
131            -- Used by the NeXT implementation to keep track of the
132            next anchor id to use
133            -->
134    
135    <!ENTITY % HTML.font-phrase "INCLUDE"
136            -- allow B, I, TT, U outside PRE,
137            CITE, VAR, etc. inside PRE
138            -->
139    
140    <!ENTITY % HTML.KEY "IGNORE"
141            -- There was once a KEY element, for keyboard keys, menu items,
142            buttons, etc. but it's not supported or widely documented
143            -->
144    
145    <!ENTITY % HTML.U "IGNORE"
146            -- There was also a U element, but since it clashes with
147            the common pracitce of underlining hypertext links, it is
148            not widely supported
149            -->
150    
151    <!ENTITY % HTML.litCDATA "IGNORE"
152            -- treat XMP, LISTING as CDATA, as per linemodeWWW
153            -->
154    
155    <!ENTITY % HTML.forms "INCLUDE"
156            -- Support for forms as per
157    http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/fill-out-forms/overview.html
158            -->
159    
160  <!-- DTD definitions -->  <!-- DTD definitions -->
161    
162  <!ENTITY % heading "H1|H2|H3|H4|H5|H6" >  <!ENTITY % heading "H1|H2|H3|H4|H5|H6" >
163  <!ENTITY % list " UL | OL | DIR | MENU ">  <!ENTITY % list " UL | OL | DIR | MENU ">
164  <!ENTITY % literal " XMP | LISTING ">  <!ENTITY % literal " XMP | LISTING ">
165    
166  <!ENTITY % headelement  <!ENTITY % URI "CDATA"
167           " TITLE | NEXTID |ISINDEX" >          -- The term URI means a CDATA attribute
168               whose value is a Uniform Resource Identifier,
169               as defined by
170            "Universal Resource Identifiers" by Tim Berners-Lee
171            aka http://info.cern.ch/hypertext/WWW/Addressing/URL/URI_Overview.html
172    
173            Note that CDATA attributes are limited by the LITLEN
174            capacity (1024 in the current version of html.decl),
175            so that URIs in HTML have a bounded length.
176    
 <!ENTITY % bodyelement  
          "P | HR | %heading |  
          %list | DL | ADDRESS | PRE | BLOCKQUOTE  
         | %literal">  
   
 <!ENTITY % oldstyle "%headelement | %bodyelement | #PCDATA">  
   
 <!ENTITY % URL "CDATA"  
         -- The term URL means a CDATA attribute  
            whose value is a Uniform Resource Locator,  
            as defined. (A URN may also be usable here when defined.)  
177          -->          -->
178    
179  <!ENTITY % linkattributes  <!ENTITY % Content-Type "CDATA"
180          "NAME NMTOKEN #IMPLIED          -- meaning a MIME content type, as per RFC1521
181          HREF %URL;  #IMPLIED          -->
182    
183    <![ %HTML.anchorNameCDATA [ <!ENTITY % anchor-name "CDATA"> ]]>
184    <!ENTITY % anchor-name "ID">
185    
186    <![ %HTML.linkRelationships [ <!ENTITY % linkRelAttrs "
187          REL CDATA #IMPLIED -- forward relationship type --          REL CDATA #IMPLIED -- forward relationship type --
188          REV CDATA #IMPLIED -- reversed relationship type          REV CDATA #IMPLIED -- reversed relationship type
189                                to referent data:                                to referent data:
190    
191                                  PARENT CHILD, SIBLING, NEXT, TOP,                                  PARENT CHILD, SIBLING, NEXT, TOP,
192                                  DEFINITION, UPDATE, ORIGINAL etc. --                                  DEFINITION, UPDATE, ORIGINAL etc. --
193            "> ]]>
194    <!ENTITY % linkRelAttrs "">
195    
196    <![ %HTML.linkRedundantInfo [ <!ENTITY % linkRedundantAttrs "
197          URN CDATA #IMPLIED -- universal resource number --          URN CDATA #IMPLIED -- universal resource number --
198    
199          TITLE CDATA #IMPLIED -- advisory only --          TITLE CDATA #IMPLIED -- advisory only --
200            "> ]]>
201    <!ENTITY % linkRedundantAttrs "">
202    
203    <![ %HTML.linkMethods [ <!ENTITY % linkMethodAttrs "
204          METHODS NAMES #IMPLIED -- supported public methods of the object:          METHODS NAMES #IMPLIED -- supported public methods of the object:
205                                          TEXTSEARCH, GET, HEAD, ... --                                          TEXTSEARCH, GET, HEAD, ... --
206            "> ]]>
207    <!ENTITY % linkMethodAttrs "">
208    
209    <!ENTITY % linkattributes
210            "NAME %anchor-name #IMPLIED
211            HREF %URI;  #IMPLIED
212            %linkRelAttrs;
213            %linkRedundantAttrs;
214            %linkMethodAttrs;
215          ">          ">
216    
217    
218  <!-- Document Element -->  <!-- Document Element -->
219    
 <!ELEMENT HTML O O  (( HEAD | BODY | %oldstyle )*, PLAINTEXT?)>  
220    
221  <!ELEMENT HEAD - -  ( TITLE?  & ISINDEX?  & NEXTID?  & LINK*  <![ %HTML.PLAINTEXT [ <!ENTITY % obsolete-plaintext ", PLAINTEXT?"> ]]>
222                                & BASE?)>  <!ENTITY % obsolete-plaintext "">
223    
224    <!ENTITY % html-content "HEAD, BODY %obsolete-plaintext;">
225    <!ELEMENT HTML O O  (%html-content)>
226    
227  <!ELEMENT TITLE - -  RCDATA  <![ %HTML.NEXTID [  <!ENTITY % head-content "TITLE? & ISINDEX? & LINK* & BASE?
228                            & NEXTID?"> ]]>
229    <!ENTITY % head-content "TITLE & ISINDEX? & LINK* & BASE?">
230    <!ELEMENT HEAD O O  (%head-content)>
231    
232    <![ %HTML.titleCDATA [ <!ENTITY % title-content "CDATA"> ]]>
233    <!ENTITY % title-content "(#PCDATA)">
234    <!ELEMENT TITLE - -  %title-content
235            -- The TITLE element is not considered part of the flow of text.            -- The TITLE element is not considered part of the flow of text.
236               It should be displayed, for example as the page header or               It should be displayed, for example as the page header or
237               window title.               window title.
# Line 67  Line 243 
243            -->            -->
244    
245  <!ELEMENT NEXTID - O EMPTY>  <!ELEMENT NEXTID - O EMPTY>
246  <!ATTLIST NEXTID N NAME #REQUIRED  <!ATTLIST NEXTID N %anchor-name #REQUIRED
247            -- The number should be a name suitable for use            -- The number should be a name suitable for use
248               for the ID of a new element. When used, the value               for the ID of a new element. When used, the value
249               has its numeric part incremented. EG Z67 becomes Z68               has its numeric part incremented. EG Z67 becomes Z68
# Line 76  Line 252 
252  <!ATTLIST LINK  <!ATTLIST LINK
253          %linkattributes>          %linkattributes>
254                    
255  <!ELEMENT BASE - O EMPTY    -- Reference context for URLS -->  <!ELEMENT BASE - O EMPTY    -- Reference context for URIs -->
256  <!ATTLIST BASE  <!ATTLIST BASE
257    
258          HREF %URL; #IMPLIED          HREF %URI; #REQUIRED
259    
260          >          >
 <!ENTITY % inline "EM | TT | STRONG | B | I | U |  
                         CODE | SAMP | KBD | KEY | VAR | DFN | CITE "  
         >  
   
 <!ELEMENT (%inline;) - - (#PCDATA)>  
261    
262  <!ENTITY % text "#PCDATA | IMG | %inline;">  <![ %HTML.KEY [
263            <!ENTITY % key-emph "| KEY">
264  <!ENTITY % htext "A | %text"    -- Plus links, no structure -->          ]]>
265    <!ENTITY % key-emph "">
266  <!ENTITY % stext                -- as htext but also nested structure --  
267                          "P | HR | %list | DL | ADDRESS  <![ %HTML.U [
268                          | PRE | BLOCKQUOTE          <!ENTITY % u-font "| U">
269                          | %literal | %htext">          ]]>
270    <!ENTITY % u-font "">
271    
272    <![ %HTML.phrase [
273    <!ENTITY % font "TT | B | I %u-font">
274    <!ENTITY % phrase "EM | STRONG | CODE | SAMP | KBD | VAR | DFN | CITE
275             | STRIKE %key-emph">
276    
277    
278    <![ %HTML.font-phrase [
279            <!ENTITY % obsolete-font "| %font">
280            <!ENTITY % obsolete-phrase "| %phrase">
281            ]]>
282    <!ENTITY % obsolete-font "">
283    <!ENTITY % obsolete-phrase "">
284    <![ %HTML.pSeparator [
285            <!ENTITY % obsolete-p "| P">
286            ]]>
287    <!ENTITY % obsolete-p "">
288    
289    <!ENTITY % inline "%phrase %obsolete-font">
290    <!ENTITY % pre-inline "%font %obsolete-phrase %obsolete-p">
291    ]]>
292    
293    <!ENTITY % inline "">
294    <!ENTITY % pre-inline "">
295    
296  <!ELEMENT BODY - -  (%bodyelement|%htext;)*>  <!ENTITY % text "#PCDATA | IMG | %inline | BR %obsolete-p">
297    
298    <!ENTITY % htext "A | %text"    -- Plus links, no structure -->
299    
300  <!ELEMENT A     - -  (%text)>  <![ %HTML.font-phrase [ <!ENTITY % font-content "(%htext)+"> ]]>
301    <!ENTITY % font-content "#PCDATA">
302    <!ELEMENT (%font;) - - (%font-content;)>
303    
304    <![ %HTML.phrase [
305    <!ELEMENT (%phrase;) - - (%htext)+>
306    ]]>
307    
308    <!ENTITY % pre "PRE | XMP | LISTING">
309    
310    <![ %HTML.forms [ <!ENTITY % block-form "| FORM | ISINDEX"> ]]>
311    <!ENTITY % block-form "">
312    
313    <![ %HTML.pSeparator [
314            <!ENTITY % obsolete-htext "| %htext">
315            <!ENTITY % block-p "">
316            ]]>
317    <!ENTITY % obsolete-htext "| A">
318    <!ENTITY % block-p "| P ">
319    
320    <!ENTITY % block "HR | %list | DL
321                    | %pre | BLOCKQUOTE | ADDRESS
322                    %block-form %block-p">
323    
324    
325    <![ %HTML.bodyBlockOnly [
326            <!ENTITY % current-htext "">
327            ]]>
328    <!ENTITY % current-htext "| %htext">
329    
330    <!ENTITY % body-content "%heading | %block %current-htext">
331    <!ELEMENT BODY O O  (%body-content)*>
332    
333    
334    <!ELEMENT A     - - (%heading|%block|%text)+ -(A)
335            -- @# Technically, this allows silliness like:
336                    <H2><A>xyz<H1>h1</H1></A></H2>
337            The right way to do anchors outside of %htext is more like:
338                    <as id=z1><H2>lkjlkj</h2><ae start=z1>
339            -->
340  <!ATTLIST A  <!ATTLIST A
341          %linkattributes;          %linkattributes;
342          >          >
343    
344  <!ELEMENT IMG    - O EMPTY --  Embedded image -->  <!ELEMENT IMG    - O EMPTY --  Embedded image -->
345  <!ATTLIST IMG  <!ATTLIST IMG
346          SRC %URL;  #IMPLIED     -- URL of document to embed --          SRC %URI;  #IMPLIED     -- URI of document to embed --
347            ALT CDATA #IMPLIED
348            ALIGN (top|middle|bottom) #IMPLIED
349            ISMAP (ISMAP) #IMPLIED
350          >          >
351    
352    
353  <!ELEMENT P     - O EMPTY -- separates paragraphs -->  <![ %HTML.pSeparator [ <!ENTITY % p-content "EMPTY"> ]]>
354    <!ENTITY % p-content "(%htext)+">
355    <!ELEMENT P     - O %p-content>
356  <!ELEMENT HR    - O EMPTY -- horizontal rule -->  <!ELEMENT HR    - O EMPTY -- horizontal rule -->
357    <!ELEMENT BR    - O EMPTY -- @# BR -> &br; -->
358    
359  <!ELEMENT ( %heading )  - -  (%htext;)+>  <!ELEMENT ( %heading )  - -  (%htext;)+>
360    
361  <!ELEMENT DL    - -  (DT | DD | %stext;)*>  <!ELEMENT DL    - -  (DT*, DD?)+>
362  <!--    Content should match ((DT,(%htext;)+)+,(DD,(%stext;)+))  <!ATTLIST DL
363          But mixed content is messy.  -Dan Connolly          COMPACT (COMPACT) #IMPLIED>
   -->  
   
 <!ELEMENT DT    - O EMPTY>  
 <!ELEMENT DD    - O EMPTY>  
   
 <!ELEMENT (UL|OL) - -  (%htext;|LI|P)+>  
 <!ELEMENT (DIR|MENU) - -  (%htext;|LI)+>  
 <!--    Content should match ((LI,(%htext;)+)+)  
         But mixed content is messy.  
   -->  
 <!ATTLIST (%list)  
         COMPACT NAME #IMPLIED -- COMPACT, etc.--  
         >  
364    
365  <!ELEMENT LI    - O EMPTY>  <!ELEMENT DT    - O (%htext)+>
366    <!ELEMENT DD    - O (%htext|%block)+>
367    
368  <!ELEMENT BLOCKQUOTE - - (%htext;|P)+  <!ELEMENT (%list) - -  (LI)+>
369    
370    <!ELEMENT LI    - O (%htext|%block)+>
371    
372    <!ELEMENT BLOCKQUOTE - - (%htext|%block)+ -- @# Hmm... --
373          -- for quoting some other source -->          -- for quoting some other source -->
374    
375  <!ELEMENT ADDRESS - - (%htext;|P)+>  <!ELEMENT ADDRESS - - (%htext;|%block)+>
376    
377  <!ELEMENT PRE - - (#PCDATA|%inline|A|P)+>  <!ELEMENT PRE - - (#PCDATA|%pre-inline|A)+>
378  <!ATTLIST PRE  <!ATTLIST PRE
379          WIDTH NUMBER #implied          WIDTH NUMBER #implied
380          >          >
381    
382  <!-- Mnemonic character entities. -->  <!-- Mnemonic character entities. -->
 <!ENTITY AElig "&#198;"  -- capital AE diphthong (ligature) -->  
 <!ENTITY Aacute "&#193;" -- capital A, acute accent -->  
 <!ENTITY Acirc "&#194;"  -- capital A, circumflex accent -->  
 <!ENTITY Agrave "&#192;" -- capital A, grave accent -->  
 <!ENTITY Aring "&#197;"  -- capital A, ring -->  
 <!ENTITY Atilde "&#195;" -- capital A, tilde -->  
 <!ENTITY Auml "&#196;"   -- capital A, dieresis or umlaut mark -->  
 <!ENTITY Ccedil "&#199;" -- capital C, cedilla -->  
 <!ENTITY ETH "&#208;"    -- capital Eth, Icelandic -->  
 <!ENTITY Eacute "&#201;" -- capital E, acute accent -->  
 <!ENTITY Ecirc "&#202;"  -- capital E, circumflex accent -->  
 <!ENTITY Egrave "&#200;" -- capital E, grave accent -->  
 <!ENTITY Euml "&#203;"   -- capital E, dieresis or umlaut mark -->  
 <!ENTITY Iacute "&#205;" -- capital I, acute accent -->  
 <!ENTITY Icirc "&#206;"  -- capital I, circumflex accent -->  
 <!ENTITY Igrave "&#204;" -- capital I, grave accent -->  
 <!ENTITY Iuml "&#207;"   -- capital I, dieresis or umlaut mark -->  
 <!ENTITY Ntilde "&#209;" -- capital N, tilde -->  
 <!ENTITY Oacute "&#211;" -- capital O, acute accent -->  
 <!ENTITY Ocirc "&#212;"  -- capital O, circumflex accent -->  
 <!ENTITY Ograve "&#210;" -- capital O, grave accent -->  
 <!ENTITY Oslash "&#216;" -- capital O, slash -->  
 <!ENTITY Otilde "&#213;" -- capital O, tilde -->  
 <!ENTITY Ouml "&#214;"   -- capital O, dieresis or umlaut mark -->  
 <!ENTITY THORN "&#222;"  -- capital THORN, Icelandic -->  
 <!ENTITY Uacute "&#218;" -- capital U, acute accent -->  
 <!ENTITY Ucirc "&#219;"  -- capital U, circumflex accent -->  
 <!ENTITY Ugrave "&#217;" -- capital U, grave accent -->  
 <!ENTITY Uuml "&#220;"   -- capital U, dieresis or umlaut mark -->  
 <!ENTITY Yacute "&#221;" -- capital Y, acute accent -->  
 <!ENTITY aacute "&#225;" -- small a, acute accent -->  
 <!ENTITY acirc "&#226;"  -- small a, circumflex accent -->  
 <!ENTITY aelig "&#230;"  -- small ae diphthong (ligature) -->  
 <!ENTITY agrave "&#224;" -- small a, grave accent -->  
 <!ENTITY amp "&#38;"     -- ampersand -->  
 <!ENTITY aring "&#229;"  -- small a, ring -->  
 <!ENTITY atilde "&#227;" -- small a, tilde -->  
 <!ENTITY auml "&#228;"   -- small a, dieresis or umlaut mark -->  
 <!ENTITY ccedil "&#231;" -- small c, cedilla -->  
 <!ENTITY eacute "&#233;" -- small e, acute accent -->  
 <!ENTITY ecirc "&#234;"  -- small e, circumflex accent -->  
 <!ENTITY egrave "&#232;" -- small e, grave accent -->  
 <!ENTITY eth "&#240;"    -- small eth, Icelandic -->  
 <!ENTITY euml "&#235;"   -- small e, dieresis or umlaut mark -->  
 <!ENTITY gt "&#62;"      -- greater than -->  
 <!ENTITY iacute "&#237;" -- small i, acute accent -->  
 <!ENTITY icirc "&#238;"  -- small i, circumflex accent -->  
 <!ENTITY igrave "&#236;" -- small i, grave accent -->  
 <!ENTITY iuml "&#239;"   -- small i, dieresis or umlaut mark -->  
 <!ENTITY lt "&#60;"      -- less than -->  
 <!ENTITY nbsp "&#32;"    --  should be NON_BREAKING space -->  
 <!ENTITY ntilde "&#241;" -- small n, tilde -->  
 <!ENTITY oacute "&#243;" -- small o, acute accent -->  
 <!ENTITY ocirc "&#244;"  -- small o, circumflex accent -->  
 <!ENTITY ograve "&#242;" -- small o, grave accent -->  
 <!ENTITY oslash "&#248;" -- small o, slash -->  
 <!ENTITY otilde "&#245;" -- small o, tilde -->  
 <!ENTITY ouml "&#246;"   -- small o, dieresis or umlaut mark -->  
 <!ENTITY szlig "&#223;"  -- small sharp s, German (sz ligature) -->  
 <!ENTITY thorn "&#254;"  -- small thorn, Icelandic -->  
 <!ENTITY uacute "&#250;" -- small u, acute accent -->  
 <!ENTITY ucirc "&#251;"  -- small u, circumflex accent -->  
 <!ENTITY ugrave "&#249;" -- small u, grave accent -->  
 <!ENTITY uuml "&#252;"   -- small u, dieresis or umlaut mark -->  
 <!ENTITY yacute "&#253;" -- small y, acute accent -->  
 <!ENTITY yuml "&#255;"   -- small y, dieresis or umlaut mark -->  
383    
384  <!-- deprecated elements -->  <!ENTITY % ISOlat1 PUBLIC
385      "ISO 8879:1986//ENTITIES Added Latin 1//EN">
386  <!ELEMENT (%literal) - -  CDATA>  %ISOlat1;
387    
388    <!ENTITY #DEFAULT SDATA "&#38;unkown;" --display the markup-->
389    <!ENTITY amp CDATA "&#38;"     -- ampersand -->
390    <!ENTITY gt CDATA "&#62;"      -- greater than -->
391    <!ENTITY lt CDATA "&#60;"      -- less than -->
392    <!ENTITY quot CDATA "&#34;"    -- double quote -->
393    
394    <!-- Processing Entities -->
395    
396    <!ENTITY nbsp "<? nonbreaking-space>">
397    <!-- @# should add entites for processing instructions
398            for line break, centering, etc. -->
399    
400    
401    <!-- Forms  -->
402    <![ %HTML.forms [
403    
404    <!ENTITY % HTTP-Method "(GET | POST)">
405    <!ELEMENT FORM - - (%body-content)* -(FORM) +(INPUT|SELECT|TEXTAREA)>
406    <!ATTLIST FORM
407            ACTION %URI #REQUIRED
408            METHOD %HTTP-Method #IMPLIED -- @# MAILTO? --
409            ENCTYPE %Content-Type; #IMPLIED
410            >
411    
412    <!ENTITY % InputType "(TEXT | PASSWORD | CHECKBOX |
413                            RADIO | SUBMIT | RESET |
414                            IMAGE | HIDDEN )">
415    <!ELEMENT INPUT - O EMPTY>
416    <!ATTLIST INPUT
417            TYPE %InputType #IMPLIED -- @# defaults to TEXT?? --
418            NAME CDATA #IMPLIED -- required for all but submit and reset --
419            VALUE CDATA #IMPLIED
420            SRC %URI #IMPLIED -- for image inputs --
421            CHECKED (CHECKED) #IMPLIED
422            SIZE CDATA #IMPLIED -- @# should be NUMBERS: delimit with space, not comma --
423            MAXLENGTH NUMBER #IMPLIED
424            ALIGN (top|middle|bottom|left|center|right) #IMPLIED --@#supported?--
425            >
426    
427    <!ELEMENT SELECT - - (OPTION+)>
428    <!ATTLIST SELECT
429            NAME CDATA #REQUIRED
430            SIZE NUMBER #IMPLIED
431            MULTIPLE (MULTIPLE) #IMPLIED
432            >
433    
434    <!ELEMENT OPTION - O (#PCDATA)>
435    <!ATTLIST OPTION
436            SELECTED (SELECTED) #IMPLIED
437            VALUE CDATA #IMPLIED
438            >
439    
440    <!ELEMENT TEXTAREA - - (#PCDATA)>
441    <!ATTLIST TEXTAREA
442            NAME CDATA #REQUIRED
443            ROWS NUMBER #REQUIRED -- @#implied? --
444            COLS NUMBER #REQUIRED
445            >
446    ]]>
447    
448    <!-- Obsolete Elements  -->
449    
450    <![ %HTML.litCDATA [ <!ENTITY % lit-content "CDATA"> ]]>
451    <!ENTITY % lit-content "RCDATA">
452    <!ELEMENT (%literal) - -  %lit-content>
453    
454    <![ %HTML.PLAINTEXT [
455  <!ELEMENT PLAINTEXT - O EMPTY>  <!ELEMENT PLAINTEXT - O EMPTY>
456    ]]>
 <!-- Local Variables: -->  
 <!-- mode: sgml -->  
 <!-- compile-command: "sgmls -s -p " -->  
 <!-- end: -->  

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.14

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24