/[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.10 by connolly, Tue Apr 19 17:24:06 1994 UTC
# Line 1  Line 1 
1  <!--  <!--    html.dtd
  $Id$  
 -->  
   
 <!--    Regarding clause 6.1, SGML Document:  
2    
3          [1] SGML document = SGML document entity,          Document Type Definition for the HyperText Markup Language
4              (SGML subdocument entity |          as used by the World Wide Web application (HTML DTD).
             SGML text entity | non-SGML data entity)*  
5    
6          The role of SGML document entity is filled by this DTD,          $Id$
         followed by the conventional HTML data stream.  
7  -->  -->
8    
9    <!-- Feature Test Entities -->
10    
11    <!-- To use these, write your document like:
12            <!DOCTYPE HTML [
13            <!ENTITY % HTML.Optional "INCLUDE">
14            <!ENTITY % html PUBLIC "-//connolly hal.com//DTD WWW HTML 1.8//EN">
15            %html;
16            ]>
17            <TITLE>Here's my doc</TITLE>
18            <p>It uses lots of optional features
19    
20     In practice, if you're using sgmls to validate your docs,
21     you can stick the <!DOCTYPE [...]> in a separate file and
22     validate with:
23            sgmls -s doctype.sgml foo.html
24     -->
25    
26    <!ENTITY % HTML.Minimal  "IGNORE">
27    <!ENTITY % HTML.Obsolete "IGNORE">
28    
29    <![ %HTML.Minimal [
30            <!ENTITY % HTML.linkRelationships "IGNORE">
31            <!ENTITY % HTML.linkMethods "IGNORE">
32            <!ENTITY % HTML.linkRedundantInfo "IGNORE">
33            <!ENTITY % HTML.forms "IGNORE">
34            <!-- @@ nested lists -->
35            <!-- @@ phrases -->
36            ]]>
37            
38    <![ %HTML.Obsolete [
39            <!ENTITY % HTML.PLAINTEXT "INCLUDE">
40            <!ENTITY % HTML.titleCDATA "INCLUDE">
41            <!ENTITY % HTML.litCDATA "INCLUDE">
42            <!ENTITY % HTML.font-phrase "INCLUDE">
43            <!ENTITY % HTML.anchorNameCDATA "INCLUDE">
44            <!ENTITY % HTML.pSeparator "INCLUDE">
45            ]]>
46    
47    <!ENTITY % HTML.GO "IGNORE"
48            -- The GO element used in ORA GNN. What is this??? -->
49    
50    <!ENTITY % HTML.aEndOmissable "IGNORE"
51            -- infer </A> tags, as in ORA GNN stuff -->
52    
53    <!ENTITY % HTML.isindexAtEnd "IGNORE"
54            -- allow ISINDEX after HEAD and BODY, as in ORA GNN stuff -->
55    
56    <!ENTITY % HTML.pSeparator "IGNORE"
57            -- use P element as paragraph separator, rather that container.
58            This means not all paragraphs need to start with a <P> tag.
59            -->
60    
61    <!ENTITY % HTML.linkRelationships "INCLUDE"
62            -- Adding markup to links to show the relationship between
63            ends of a link
64            see http://info.cern.ch/hypertext/WWW/MarkUp/Relationships.html
65            -->
66    
67    <!ENTITY % HTML.linkMethods "INCLUDE"
68            -- Adding markup to links to show the methods supported
69            by the referent object
70            see http://info.cern.ch/hypertext/WWW/MarkUp/Elements/A.html
71            -->
72    
73    <!ENTITY % HTML.linkRedundantInfo "INCLUDE"
74            -- Adding markup to links to give redundant information
75            like URN, content type, title...
76            -->
77    
78    <!ENTITY % HTML.anchorNameCDATA "IGNORE"
79            -- Anchor names should be distinct. SGML parser can validate
80            this if the NAME attribute of the A element is declared as ID.
81            But that restricts the syntax of an anchor name to an SGML name,
82            i.e. a letter followed by letters, numbers, periods and dashes,
83            up to NAMELEN (34) characters long.
84            -->
85    
86    <!ENTITY % HTML.PLAINTEXT "IGNORE"
87            -- Support for the <PLAINTEXT> tag as a sign of the
88            end of th HTML data stream and the beginning of a stream
89            of text/plain data
90            -->
91    
92    <!ENTITY % HTML.titleCDATA "IGNORE"
93            -- Is the TITLE element #PCDATA, RCDATA, or CDATA content?
94            On Mosaic, it's #PCDATA, but in the linemode browser,
95            it's more like CDATA, but not quite.
96            -->
97    
98    <!ENTITY % HTML.NEXTID "INCLUDE"
99            -- Used by the NeXT implementation to keep track of the
100            next anchor id to use
101            -->
102    
103    <!ENTITY % HTML.font-phrase "IGNORE"
104            -- allow B, I, TT, U outside PRE,
105            CITE, VAR, etc. inside PRE
106            -->
107    
108    <!ENTITY % HTML.litCDATA "IGNORE"
109            -- treat XMP, LISTING as CDATA, as per linemodeWWW
110            -->
111    
112    <!ENTITY % HTML.forms "INCLUDE"
113            -- Support for forms as per
114    http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/fill-out-forms/overview.html
115            -->
116    
117  <!-- DTD definitions -->  <!-- DTD definitions -->
118    
119  <!ENTITY % heading "H1|H2|H3|H4|H5|H6" >  <!ENTITY % heading "H1|H2|H3|H4|H5|H6" >
120  <!ENTITY % list "UL|OL|DIR|MENU">  <!ENTITY % list " UL | OL | DIR | MENU ">
121  <!ENTITY % literal "XMP|LISTING">  <!ENTITY % literal " XMP | LISTING ">
   
 <!ENTITY % headelement  
          "TITLE | NEXTID | ISINDEX" >  
122    
123  <!ENTITY % bodyelement  <!ENTITY % URI "CDATA"
124           "P | %heading |          -- The term URI means a CDATA attribute
125           %list | DL | HEADERS | ADDRESS | PRE | BLOCKQUOTE             whose value is a Uniform Resource Identifier,
126          | %literal">             as defined by
127            "Universal Resource Identifiers" by Tim Berners-Lee
128  <!ENTITY % oldstyle "%headelement | %bodyelement | #PCDATA">          aka http://info.cern.ch/hypertext/WWW/Addressing/URL/URI_Overview.html
129  <!ENTITY % URL "CDATA"  
130          -- The term URL means a CDATA attribute          Note that CDATA attributes are limited by the LITLEN
131             whose value is a Universal Resource Locator,          capacity (1024 in the current version of html.decl),
132             as defined in ftp://info.cern.ch/pub/www/doc/url3.txt          so that URIs in HTML have a bounded length.
133          -->          -->
134    
135  <!ENTITY % linkattributes  <!ENTITY % Content-Type "CDATA"
136          "NAME NMTOKEN #IMPLIED          -- meaning a MIME content type, as per RFC1341 or any of its updates.
137          HREF %URL; #IMPLIED          -->
138          TYPE NAME #IMPLIED -- type of relashionship to referent data:  
139    <![ %HTML.anchorNameCDATA [ <!ENTITY % anchor-name "CDATA"> ]]>
140    <!ENTITY % anchor-name "ID">
141    
142    <![ %HTML.linkRelationships [ <!ENTITY % linkRelAttrs "
143            REL CDATA #IMPLIED -- forward relationship type --
144            REV CDATA #IMPLIED -- reversed relationship type
145                                  to referent data:
146    
147                                  PARENT CHILD, SIBLING, NEXT, TOP,                                  PARENT CHILD, SIBLING, NEXT, TOP,
148                                   DEFINITION, UPDATE, ORIGINAL etc. --                                  DEFINITION, UPDATE, ORIGINAL etc. --
149          URN CDATA #IMPLIED -- universal resource number. unique doc id --          "> ]]>
150    <!ENTITY % linkRelAttrs "">
151    
152    <![ %HTML.linkRedundantInfo [ <!ENTITY % linkRedundantAttrs "
153            URN CDATA #IMPLIED -- universal resource number --
154    
155          TITLE CDATA #IMPLIED -- advisory only --          TITLE CDATA #IMPLIED -- advisory only --
156          METHODS NAMES #IMPLIED -- supported methods of the object:          "> ]]>
157    <!ENTITY % linkRedundantAttrs "">
158    
159    <![ %HTML.linkMethods [ <!ENTITY % linkMethodAttrs "
160            METHODS NAMES #IMPLIED -- supported public methods of the object:
161                                          TEXTSEARCH, GET, HEAD, ... --                                          TEXTSEARCH, GET, HEAD, ... --
162            "> ]]>
163    <!ENTITY % linkMethodAttrs "">
164    
165    <!ENTITY % linkattributes
166            "NAME %anchor-name #IMPLIED
167            HREF %URI;  #IMPLIED
168            %linkRelAttrs;
169            %linkRedundantAttrs;
170            %linkMethodAttrs;
171          ">          ">
172    
 <!-- Document Element -->  
173    
174  <!ELEMENT HTML O O  ((HEAD | BODY | %oldstyle)*, PLAINTEXT?)>  <!-- Document Element -->
175    
 <!ELEMENT HEAD - -  (TITLE? & ISINDEX? & NEXTID? & LINK*)>  
176    
177  <!ELEMENT TITLE - -  RCDATA  <![ %HTML.PLAINTEXT [ <!ENTITY % obsolete-plaintext ", PLAINTEXT?"> ]]>
178    <!ENTITY % obsolete-plaintext "">
179    <![ %HTML.isindexAtEnd [ <!ENTITY % end-isindex ", ISINDEX?"> ]]>
180    <!ENTITY % end-isindex "">
181    
182    <!ENTITY % html-content "HEAD, BODY %obsolete-plaintext; %end-isindex">
183    <!ELEMENT HTML O O  (%html-content)>
184    
185    <![ %HTML.NEXTID [  <!ENTITY % head-content "TITLE? & ISINDEX? & LINK* & BASE?
186                            & NEXTID?"> ]]>
187    <!ENTITY % head-content "TITLE & ISINDEX? & LINK* & BASE?">
188    <!ELEMENT HEAD O O  (%head-content)>
189    
190    <![ %HTML.titleCDATA [ <!ENTITY % title-content "CDATA"> ]]>
191    <!ENTITY % title-content "(#PCDATA)">
192    <!ELEMENT TITLE - -  %title-content
193            -- The TITLE element is not considered part of the flow of text.            -- The TITLE element is not considered part of the flow of text.
194               It should be displayed, for example as the page header or               It should be displayed, for example as the page header or
195               window title.               window title.
# Line 61  Line 199 
199            -- WWW clients should offer the option to perform a search on            -- WWW clients should offer the option to perform a search on
200               documents containing ISINDEX.               documents containing ISINDEX.
201            -->            -->
202    
203  <!ELEMENT NEXTID - O EMPTY>  <!ELEMENT NEXTID - O EMPTY>
204  <!ATTLIST NEXTID N NUMBER #REQUIRED  <!ATTLIST NEXTID N %anchor-name #REQUIRED
205            -- The number should be the highest number that appears in            -- The number should be a name suitable for use
206               any NAME attribute in the document.               for the ID of a new element. When used, the value
207                 has its numeric part incremented. EG Z67 becomes Z68
208            -->            -->
   
209  <!ELEMENT LINK - O EMPTY>  <!ELEMENT LINK - O EMPTY>
210  <!ATTLIST LINK  <!ATTLIST LINK
211          %linkattributes>          %linkattributes>
212                    
213  <!ENTITY % inline "EM | TT | STRONG | B | I | U |  <!ELEMENT BASE - O EMPTY    -- Reference context for URIs -->
214                          CODE | SAMP | KBD | KEY | VAR | DFN | CITE "  <!ATTLIST BASE
215    
216            HREF %URI; #IMPLIED
217    
218          >          >
219    
220  <!ELEMENT (%inline;) - - (#PCDATA)>  <!ENTITY % font "TT | B | I | U ">
221    <!ENTITY % phrase "EM | STRONG | CODE | SAMP | KBD | KEY | VAR | DFN | CITE">
222    
223    <![ %HTML.font-phrase [
224            <!ENTITY % obsolete-font "| %font">
225            <!ENTITY % obsolete-phrase "| %phrase">
226            ]]>
227    <!ENTITY % obsolete-font "">
228    <!ENTITY % obsolete-phrase "">
229    <![ %HTML.pSeparator [
230            <!ENTITY % obsolete-p "| P">
231            ]]>
232    <!ENTITY % obsolete-p "">
233    
234    <!ENTITY % inline "%phrase %obsolete-font">
235    <!ENTITY % pre-inline "%font %obsolete-phrase %obsolete-p">
236    
237    <![ %HTML.GO [
238            <!ELEMENT GO - O EMPTY>
239            <!ENTITY % go-text "| GO">
240            ]]>
241    <!ENTITY % go-text "">
242    
243    <!ENTITY % text "#PCDATA | IMG | %inline | BR %go-text %obsolete-p">
244    
245  <!ENTITY % hypertext "#PCDATA | %inline; | A">  <!ENTITY % htext "A | %text"    -- Plus links, no structure -->
246    
247  <!ELEMENT BODY - -  (%bodyelement|%hypertext;)*>  <![ %HTML.font-phrase [ <!ENTITY % font-content "(%htext)+"> ]]>
248    <!ENTITY % font-content "#PCDATA">
249    <!ELEMENT (%font;) - - (%font-content;)>
250    
251  <!ELEMENT A     - -  (#PCDATA)>  <!ELEMENT (%phrase;) - - (%htext)+>
252    
253    <!ENTITY % pre "PRE | XMP | LISTING">
254    
255    <![ %HTML.forms [ <!ENTITY % block-form "| FORM | ISINDEX"> ]]>
256    <!ENTITY % block-form "">
257    
258    <![ %HTML.pSeparator [
259            <!ENTITY % obsolete-htext "| %htext">
260            <!ENTITY % block-p "">
261            ]]>
262    <!ENTITY % obsolete-htext "| A">
263    <!ENTITY % block-p "| P ">
264    
265    <!ENTITY % block "HR | %list | DL
266                    | %pre | BLOCKQUOTE | ADDRESS
267                    %block-form %block-p">
268    
269    
270    <!ENTITY % body-content "%heading | %block %obsolete-htext">
271    <!ELEMENT BODY O O  (%body-content)*>
272    
273    
274    <![ %HTML.aEndOmissable [ <!ENTITY % a-end "O"> ]]>
275    <!ENTITY % a-end "-">
276    
277    <!ELEMENT A     - %a-end (%heading|%block|%text)+ -(A)
278            -- @# Technically, this allows silliness like:
279                    <H2><A>xyz<H1>h1</H1></A></H2>
280            The right way to do anchors outside of %htext is more like:
281                    <as id=z1><H2>lkjlkj</h2><ae start=z1>
282            -->
283  <!ATTLIST A  <!ATTLIST A
284          %linkattributes;          %linkattributes;
285          >          >
286    
287  <!ELEMENT P     - O EMPTY -- separates paragraphs -->  <!ELEMENT IMG    - O EMPTY --  Embedded image -->
288    <!ATTLIST IMG
289            SRC %URI;  #IMPLIED     -- URI of document to embed --
290            ALT CDATA #IMPLIED
291            ALIGN (top|middle|bottom) #IMPLIED
292            ISMAP (ISMAP) #IMPLIED
293            >
294    
295    
296  <!ELEMENT (%heading)    - -  (%hypertext;)+>  <![ %HTML.pSeparator [ <!ENTITY % p-content "EMPTY"> ]]>
297    <!ENTITY % p-content "(%htext)+">
298    <!ELEMENT P     - O %p-content>
299    <!ELEMENT HR    - O EMPTY -- horizontal rule -->
300    <!ELEMENT BR    - O EMPTY -- @# BR -> &br; -->
301    
302  <!ELEMENT DL    - -  (DT | DD | P | %hypertext;)*>  <!ELEMENT ( %heading )  - -  (%htext;)+>
303  <!--    Content should match ((DT,(%hypertext;)+)+,(DD,(%hypertext;)+))  
304          But mixed content is messy.  <!ELEMENT DL    - -  (DT*, DD?)+>
   -->  
305  <!ATTLIST DL  <!ATTLIST DL
306          STYLE NAME #IMPLIED -- COMPACT, etc.--          STYLE (COMPACT) #IMPLIED>
307          >  
308    <!ELEMENT DT    - O (%htext)+>
309  <!ELEMENT DT    - O EMPTY>  <!ELEMENT DD    - O (%htext|%block)+>
 <!ELEMENT DD    - O EMPTY>  
   
 <!ELEMENT (UL|OL) - -  (%hypertext;|LI|P)+>  
 <!ELEMENT (DIR|MENU) - -  (%hypertext;|LI)+>  
 <!--    Content should match ((LI,(%hypertext;)+)+)  
         But mixed content is messy.  
   -->  
310    
311  <!ELEMENT LI    - O EMPTY>  <!ELEMENT (%list) - -  (LI)+>
312    
313  <!ELEMENT BLOCKQUOTE - - (%hypertext;|P)+  <!ELEMENT LI    - O (%htext|%block)+>
314    
315    <!ELEMENT BLOCKQUOTE - - (%htext|%block)+ -- @# Hmm... --
316          -- for quoting some other source -->          -- for quoting some other source -->
 <!ATTLIST BLOCKQUOTE  
         SOURCE CDATA #IMPLIED -- URL of source --  
         >  
317    
318  <!ELEMENT ADDRESS - - (%hypertext;|P)+>  <!ELEMENT ADDRESS - - (%htext;)+>
319    
320  <!ELEMENT PRE - - (#PCDATA | A | B | I | U | P)+>  <!ELEMENT PRE - - (#PCDATA|%pre-inline|A)+>
321  <!ATTLIST PRE  <!ATTLIST PRE
322          WIDTH NUMBER #implied          WIDTH NUMBER #implied
323          >          >
324    
   
325  <!-- 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 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 -->  
   
 <!-- deprecated elements -->  
326    
327  <!ELEMENT (%literal) - -  CDATA>  <!ENTITY % ISOlat1 PUBLIC
328      "ISO 8879:1986//ENTITIES Added Latin 1//EN">
329    %ISOlat1;
330    
331    <!ENTITY amp "&#38;"     -- ampersand -->
332    <!ENTITY gt "&#62;"      -- greater than -->
333    <!ENTITY lt "&#60;"      -- less than -->
334    <!ENTITY quot "&#34;"      -- less than -->
335    <!ENTITY nbsp "<? nonbreaking-space>">
336    <!-- @# should add entites for processing instructions
337            for line break, centering, etc. -->
338    
339    
340    <![ %HTML.litCDATA [ <!ENTITY % lit-content "CDATA"> ]]>
341    <!ENTITY % lit-content "RCDATA">
342    <!ELEMENT (%literal) - -  %lit-content>
343    
344    <![ %HTML.PLAINTEXT [
345  <!ELEMENT PLAINTEXT - O EMPTY>  <!ELEMENT PLAINTEXT - O EMPTY>
346    ]]>
347    
348    
349    <!-- Forms  -->
350    <![ %HTML.forms [
351    
352    <!ENTITY % HTTP-Method "(GET | POST)">
353    <!ELEMENT FORM - - (%body-content)* -(FORM) +(INPUT|SELECT|TEXTAREA)>
354    <!ATTLIST FORM
355            ACTION %URI #REQUIRED
356            METHOD %HTTP-Method #IMPLIED -- @# MAILTO? --
357            ENCTYPE %Content-Type; #IMPLIED
358            >
359    
360    <!ENTITY % InputType "(TEXT | PASSWORD | CHECKBOX |
361                            RADIO | SUBMIT | RESET |
362                            IMAGE | HIDDEN )">
363    <!ELEMENT INPUT - O EMPTY>
364    <!ATTLIST INPUT
365            TYPE %InputType #IMPLIED -- @# defaults to TEXT?? --
366            NAME CDATA #IMPLIED -- required for all but submit and reset --
367            VALUE CDATA #IMPLIED
368            SRC %URI #IMPLIED -- for image inputs --
369            STATE (CHECKED) #IMPLIED
370            SIZE CDATA #IMPLIED -- @# should be NUMBERS: delimit with space, not comma --
371            MAXLENGTH NUMBER #IMPLIED
372            ALIGN (top|middle|bottom|left|center|right) #IMPLIED --@#supported?--
373            >
374    
375    <!ELEMENT SELECT - - (OPTION+)>
376    <!ATTLIST SELECT
377            NAME CDATA #REQUIRED
378            SIZE NUMBER #IMPLIED
379            SELECTIONS (MULTIPLE) #IMPLIED
380            >
381    
382    <!ELEMENT OPTION - O (#PCDATA)>
383    <!ATTLIST OPTION
384            STATE (SELECTED) #IMPLIED
385            VALUE CDATA #IMPLIED
386            >
387    
388    <!ELEMENT TEXTAREA - - (#PCDATA)>
389    <!ATTLIST TEXTAREA
390            NAME CDATA #REQUIRED
391            ROWS NUMBER #REQUIRED -- @#implied? --
392            COLS NUMBER #REQUIRED
393            >
394    ]]>
395    
 <!-- Local Variables: -->  
 <!-- mode: sgml -->  
 <!-- compile-command: "sgmls -s -p " -->  
 <!-- end: -->  

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24