]> matita.cs.unibo.it Git - helm.git/blob - helm/mowgli/home/xml/mowgli-xhtml1-transitional.dtd
ocaml 3.09 transition
[helm.git] / helm / mowgli / home / xml / mowgli-xhtml1-transitional.dtd
1 <!--
2    MOWGLI extension of Extensible HTML version 1.0 Transitional DTD
3      
4    This is a slight modification of the Extensible HTML Version 1.0
5    Transitional DTD to allow some elements in the mowgli namespace
6    to appear in the document.
7
8    All the relative SYSTEM identifiers in the DTD have been made absolute
9    (to make them refer to the original documents).
10
11    The parts of the DTD that have been modified are enclosed between
12    couples of comments like these:
13    <!- - BEGIN MOWGLI extension - ->
14    <!- - END MOWGLI extension - ->
15    The comments above are omitted when the only modification is the
16    change of the SYSTEM identifier from relative to absolute.
17 -->
18
19 <!--
20    Extensible HTML version 1.0 Transitional DTD
21
22    This is the same as HTML 4.0 Transitional except for
23    changes due to the differences between XML and SGML.
24
25    Namespace = http://www.w3.org/1999/xhtml
26
27    For further information, see: http://www.w3.org/TR/xhtml1
28
29    Copyright (c) 1998-2000 W3C (MIT, INRIA, Keio),
30    All Rights Reserved. 
31
32    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
33
34    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
35    SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
36
37    $Revision$
38    $Date$
39
40 -->
41
42 <!--================ Character mnemonic entities =========================-->
43
44 <!ENTITY % HTMLlat1 PUBLIC
45    "-//W3C//ENTITIES Latin 1 for XHTML//EN"
46    "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">
47 %HTMLlat1;
48
49 <!ENTITY % HTMLsymbol PUBLIC
50    "-//W3C//ENTITIES Symbols for XHTML//EN"
51    "http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent">
52 %HTMLsymbol;
53
54 <!ENTITY % HTMLspecial PUBLIC
55    "-//W3C//ENTITIES Special for XHTML//EN"
56    "http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent">
57 %HTMLspecial;
58
59 <!--================== Imported Names ====================================-->
60
61 <!ENTITY % ContentType "CDATA">
62     <!-- media type, as per [RFC2045] -->
63
64 <!ENTITY % ContentTypes "CDATA">
65     <!-- comma-separated list of media types, as per [RFC2045] -->
66
67 <!ENTITY % Charset "CDATA">
68     <!-- a character encoding, as per [RFC2045] -->
69
70 <!ENTITY % Charsets "CDATA">
71     <!-- a space separated list of character encodings, as per [RFC2045] -->
72
73 <!ENTITY % LanguageCode "NMTOKEN">
74     <!-- a language code, as per [RFC1766] -->
75
76 <!ENTITY % Character "CDATA">
77     <!-- a single character from [ISO10646] -->
78
79 <!ENTITY % Number "CDATA">
80     <!-- one or more digits -->
81
82 <!ENTITY % LinkTypes "CDATA">
83     <!-- space-separated list of link types -->
84
85 <!ENTITY % MediaDesc "CDATA">
86     <!-- single or comma-separated list of media descriptors -->
87
88 <!ENTITY % URI "CDATA">
89     <!-- a Uniform Resource Identifier, see [RFC2396] -->
90
91 <!ENTITY % UriList "CDATA">
92     <!-- a space separated list of Uniform Resource Identifiers -->
93
94 <!ENTITY % Datetime "CDATA">
95     <!-- date and time information. ISO date format -->
96
97 <!ENTITY % Script "CDATA">
98     <!-- script expression -->
99
100 <!ENTITY % StyleSheet "CDATA">
101     <!-- style sheet data -->
102
103 <!ENTITY % Text "CDATA">
104     <!-- used for titles etc. -->
105
106 <!ENTITY % FrameTarget "NMTOKEN">
107     <!-- render in this frame -->
108
109 <!ENTITY % Length "CDATA">
110     <!-- nn for pixels or nn% for percentage length -->
111
112 <!ENTITY % MultiLength "CDATA">
113     <!-- pixel, percentage, or relative -->
114
115 <!ENTITY % MultiLengths "CDATA">
116     <!-- comma-separated list of MultiLength -->
117
118 <!ENTITY % Pixels "CDATA">
119     <!-- integer representing length in pixels -->
120
121 <!-- these are used for image maps -->
122
123 <!ENTITY % Shape "(rect|circle|poly|default)">
124
125 <!ENTITY % Coords "CDATA">
126     <!-- comma separated list of lengths -->
127
128 <!-- used for object, applet, img, input and iframe -->
129 <!ENTITY % ImgAlign "(top|middle|bottom|left|right)">
130
131 <!-- a color using sRGB: #RRGGBB as Hex values -->
132 <!ENTITY % Color "CDATA">
133
134 <!-- There are also 16 widely known color names with their sRGB values:
135
136     Black  = #000000    Green  = #008000
137     Silver = #C0C0C0    Lime   = #00FF00
138     Gray   = #808080    Olive  = #808000
139     White  = #FFFFFF    Yellow = #FFFF00
140     Maroon = #800000    Navy   = #000080
141     Red    = #FF0000    Blue   = #0000FF
142     Purple = #800080    Teal   = #008080
143     Fuchsia= #FF00FF    Aqua   = #00FFFF
144 -->
145
146 <!--=================== Generic Attributes ===============================-->
147
148 <!-- core attributes common to most elements
149   id       document-wide unique id
150   class    space separated list of classes
151   style    associated style info
152   title    advisory title/amplification
153 -->
154 <!ENTITY % coreattrs
155  "id          ID             #IMPLIED
156   class       CDATA          #IMPLIED
157   style       %StyleSheet;   #IMPLIED
158   title       %Text;         #IMPLIED"
159   >
160
161 <!-- internationalization attributes
162   lang        language code (backwards compatible)
163   xml:lang    language code (as per XML 1.0 spec)
164   dir         direction for weak/neutral text
165 -->
166 <!ENTITY % i18n
167  "lang        %LanguageCode; #IMPLIED
168   xml:lang    %LanguageCode; #IMPLIED
169   dir         (ltr|rtl)      #IMPLIED"
170   >
171
172 <!-- attributes for common UI events
173   onclick     a pointer button was clicked
174   ondblclick  a pointer button was double clicked
175   onmousedown a pointer button was pressed down
176   onmouseup   a pointer button was released
177   onmousemove a pointer was moved onto the element
178   onmouseout  a pointer was moved away from the element
179   onkeypress  a key was pressed and released
180   onkeydown   a key was pressed down
181   onkeyup     a key was released
182 -->
183 <!ENTITY % events
184  "onclick     %Script;       #IMPLIED
185   ondblclick  %Script;       #IMPLIED
186   onmousedown %Script;       #IMPLIED
187   onmouseup   %Script;       #IMPLIED
188   onmouseover %Script;       #IMPLIED
189   onmousemove %Script;       #IMPLIED
190   onmouseout  %Script;       #IMPLIED
191   onkeypress  %Script;       #IMPLIED
192   onkeydown   %Script;       #IMPLIED
193   onkeyup     %Script;       #IMPLIED"
194   >
195
196 <!-- attributes for elements that can get the focus
197   accesskey   accessibility key character
198   tabindex    position in tabbing order
199   onfocus     the element got the focus
200   onblur      the element lost the focus
201 -->
202 <!ENTITY % focus
203  "accesskey   %Character;    #IMPLIED
204   tabindex    %Number;       #IMPLIED
205   onfocus     %Script;       #IMPLIED
206   onblur      %Script;       #IMPLIED"
207   >
208
209 <!ENTITY % attrs "%coreattrs; %i18n; %events;">
210
211 <!-- text alignment for p, div, h1-h6. The default is
212      align="left" for ltr headings, "right" for rtl -->
213
214 <!ENTITY % TextAlign "align (left|center|right) #IMPLIED">
215
216 <!--=================== Text Elements ====================================-->
217
218 <!ENTITY % special
219    "br | span | bdo | object | applet | img | map | iframe">
220
221 <!ENTITY % fontstyle "tt | i | b | big | small | u
222                       | s | strike |font | basefont">
223
224 <!ENTITY % phrase "em | strong | dfn | code | q | sub | sup |
225                    samp | kbd | var | cite | abbr | acronym">
226
227 <!ENTITY % inline.forms "input | select | textarea | label | button">
228
229 <!-- these can occur at block or inline level -->
230 <!ENTITY % misc "ins | del | script | noscript">
231
232 <!ENTITY % inline "a | %special; | %fontstyle; | %phrase; | %inline.forms;">
233
234 <!-- %Inline; covers inline or "text-level" elements -->
235 <!-- BEGIN MOWGLI extension -->
236 <!ENTITY % Inline "(#PCDATA | mowgli:date | %inline; | %misc;)*">
237 <!-- END MOWGLI extension -->
238
239 <!--================== Block level elements ==============================-->
240
241 <!ENTITY % heading "h1|h2|h3|h4|h5|h6">
242 <!ENTITY % lists "ul | ol | dl | menu | dir">
243 <!ENTITY % blocktext "pre | hr | blockquote | address | center | noframes">
244
245 <!ENTITY % block
246     "p | %heading; | div | %lists; | %blocktext; | isindex |fieldset | table">
247
248 <!ENTITY % Block "(%block; | form | %misc;)*">
249
250 <!-- BEGIN MOWGLI extension -->
251 <!-- %Flow; mixes Block and Inline and is used for list items etc. -->
252 <!ENTITY % Flow "(#PCDATA | mowgli:latest-news | approaching-deadlines | %block; | form | %inline; | %misc;)*">
253 <!-- END MOWGLI extension -->
254
255 <!--================== Content models for exclusions =====================-->
256
257 <!-- a elements use %Inline; excluding a -->
258
259 <!ENTITY % a.content
260    "(#PCDATA | %special; | %fontstyle; | %phrase; | %inline.forms; | %misc;)*">
261
262 <!-- pre uses %Inline excluding img, object, applet, big, small,
263      sub, sup, font, or basefont -->
264
265 <!ENTITY % pre.content
266    "(#PCDATA | a | br | span | bdo | map | tt | i | b | u | s |
267       %phrase; | %inline.forms;)*">
268
269 <!-- form uses %Flow; excluding form -->
270
271 <!ENTITY % form.content "(#PCDATA | %block; | %inline; | %misc;)*">
272
273 <!-- button uses %Flow; but excludes a, form, form controls, iframe -->
274
275 <!ENTITY % button.content
276    "(#PCDATA | p | %heading; | div | %lists; | %blocktext; |
277       table | br | span | bdo | object | applet | img | map |
278       %fontstyle; | %phrase; | %misc;)*">
279
280 <!--================ Document Structure ==================================-->
281
282 <!-- the namespace URI designates the document profile -->
283
284 <!ELEMENT html (head, body)>
285 <!ATTLIST html
286   %i18n;
287   xmlns       %URI;          #FIXED 'http://www.w3.org/1999/xhtml'
288   >
289
290 <!--================ Document Head =======================================-->
291
292 <!ENTITY % head.misc "(script|style|meta|link|object|isindex)*">
293
294 <!-- content model is %head.misc; combined with a single
295      title and an optional base element in any order -->
296
297 <!ELEMENT head (%head.misc;,
298      ((title, %head.misc;, (base, %head.misc;)?) |
299       (base, %head.misc;, (title, %head.misc;))))>
300
301 <!ATTLIST head
302   %i18n;
303   profile     %URI;          #IMPLIED
304   >
305
306 <!-- The title element is not considered part of the flow of text.
307        It should be displayed, for example as the page header or
308        window title. Exactly one title is required per document.
309     -->
310 <!ELEMENT title (#PCDATA)>
311 <!ATTLIST title %i18n;>
312
313 <!-- document base URI -->
314
315 <!ELEMENT base EMPTY>
316 <!ATTLIST base
317   href        %URI;          #IMPLIED
318   target      %FrameTarget;  #IMPLIED
319   >
320
321 <!-- generic metainformation -->
322 <!ELEMENT meta EMPTY>
323 <!ATTLIST meta
324   %i18n;
325   http-equiv  CDATA          #IMPLIED
326   name        CDATA          #IMPLIED
327   content     CDATA          #REQUIRED
328   scheme      CDATA          #IMPLIED
329   >
330
331 <!--
332   Relationship values can be used in principle:
333
334    a) for document specific toolbars/menus when used
335       with the link element in document head e.g.
336         start, contents, previous, next, index, end, help
337    b) to link to a separate style sheet (rel="stylesheet")
338    c) to make a link to a script (rel="script")
339    d) by stylesheets to control how collections of
340       html nodes are rendered into printed documents
341    e) to make a link to a printable version of this document
342       e.g. a PostScript or PDF version (rel="alternate" media="print")
343 -->
344
345 <!ELEMENT link EMPTY>
346 <!ATTLIST link
347   %attrs;
348   charset     %Charset;      #IMPLIED
349   href        %URI;          #IMPLIED
350   hreflang    %LanguageCode; #IMPLIED
351   type        %ContentType;  #IMPLIED
352   rel         %LinkTypes;    #IMPLIED
353   rev         %LinkTypes;    #IMPLIED
354   media       %MediaDesc;    #IMPLIED
355   target      %FrameTarget;  #IMPLIED
356   >
357
358 <!-- style info, which may include CDATA sections -->
359 <!ELEMENT style (#PCDATA)>
360 <!ATTLIST style
361   %i18n;
362   type        %ContentType;  #REQUIRED
363   media       %MediaDesc;    #IMPLIED
364   title       %Text;         #IMPLIED
365   xml:space   (preserve)     #FIXED 'preserve'
366   >
367
368 <!-- script statements, which may include CDATA sections -->
369 <!ELEMENT script (#PCDATA)>
370 <!ATTLIST script
371   charset     %Charset;      #IMPLIED
372   type        %ContentType;  #REQUIRED
373   language    CDATA          #IMPLIED
374   src         %URI;          #IMPLIED
375   defer       (defer)        #IMPLIED
376   xml:space   (preserve)     #FIXED 'preserve'
377   >
378
379 <!-- alternate content container for non script-based rendering -->
380
381 <!ELEMENT noscript %Flow;>
382 <!ATTLIST noscript
383   %attrs;
384   >
385
386 <!--======================= Frames =======================================-->
387
388 <!-- inline subwindow -->
389
390 <!ELEMENT iframe %Flow;>
391 <!ATTLIST iframe
392   %coreattrs;
393   longdesc    %URI;          #IMPLIED
394   name        NMTOKEN        #IMPLIED
395   src         %URI;          #IMPLIED
396   frameborder (1|0)          "1"
397   marginwidth %Pixels;       #IMPLIED
398   marginheight %Pixels;      #IMPLIED
399   scrolling   (yes|no|auto)  "auto"
400   align       %ImgAlign;     #IMPLIED
401   height      %Length;       #IMPLIED
402   width       %Length;       #IMPLIED
403   >
404
405 <!-- alternate content container for non frame-based rendering -->
406
407 <!ELEMENT noframes %Flow;>
408 <!ATTLIST noframes
409   %attrs;
410   >
411
412 <!--=================== Document Body ====================================-->
413
414 <!ELEMENT body %Flow;>
415 <!ATTLIST body
416   %attrs;
417   onload      %Script;       #IMPLIED
418   onunload    %Script;       #IMPLIED
419   background  %URI;          #IMPLIED
420   bgcolor     %Color;        #IMPLIED
421   text        %Color;        #IMPLIED
422   link        %Color;        #IMPLIED
423   vlink       %Color;        #IMPLIED
424   alink       %Color;        #IMPLIED
425   >
426
427 <!ELEMENT div %Flow;>  <!-- generic language/style container -->
428 <!ATTLIST div
429   %attrs;
430   %TextAlign;
431   >
432
433 <!--=================== Paragraphs =======================================-->
434
435 <!ELEMENT p %Inline;>
436 <!ATTLIST p
437   %attrs;
438   %TextAlign;
439   >
440
441 <!--=================== Headings =========================================-->
442
443 <!--
444   There are six levels of headings from h1 (the most important)
445   to h6 (the least important).
446 -->
447
448 <!ELEMENT h1  %Inline;>
449 <!ATTLIST h1
450   %attrs;
451   %TextAlign;
452   >
453
454 <!ELEMENT h2 %Inline;>
455 <!ATTLIST h2
456   %attrs;
457   %TextAlign;
458   >
459
460 <!ELEMENT h3 %Inline;>
461 <!ATTLIST h3
462   %attrs;
463   %TextAlign;
464   >
465
466 <!ELEMENT h4 %Inline;>
467 <!ATTLIST h4
468   %attrs;
469   %TextAlign;
470   >
471
472 <!ELEMENT h5 %Inline;>
473 <!ATTLIST h5
474   %attrs;
475   %TextAlign;
476   >
477
478 <!ELEMENT h6 %Inline;>
479 <!ATTLIST h6
480   %attrs;
481   %TextAlign;
482   >
483
484 <!--=================== Lists ============================================-->
485
486 <!-- Unordered list bullet styles -->
487
488 <!ENTITY % ULStyle "(disc|square|circle)">
489
490 <!-- Unordered list -->
491
492 <!ELEMENT ul (li)+>
493 <!ATTLIST ul
494   %attrs;
495   type        %ULStyle;     #IMPLIED
496   compact     (compact)     #IMPLIED
497   >
498
499 <!-- Ordered list numbering style
500
501     1   arabic numbers      1, 2, 3, ...
502     a   lower alpha         a, b, c, ...
503     A   upper alpha         A, B, C, ...
504     i   lower roman         i, ii, iii, ...
505     I   upper roman         I, II, III, ...
506
507     The style is applied to the sequence number which by default
508     is reset to 1 for the first list item in an ordered list.
509 -->
510 <!ENTITY % OLStyle "CDATA">
511
512 <!-- Ordered (numbered) list -->
513
514 <!ELEMENT ol (li)+>
515 <!ATTLIST ol
516   %attrs;
517   type        %OLStyle;      #IMPLIED
518   compact     (compact)      #IMPLIED
519   start       %Number;       #IMPLIED
520   >
521
522 <!-- single column list (DEPRECATED) --> 
523 <!ELEMENT menu (li)+>
524 <!ATTLIST menu
525   %attrs;
526   compact     (compact)     #IMPLIED
527   >
528
529 <!-- multiple column list (DEPRECATED) --> 
530 <!ELEMENT dir (li)+>
531 <!ATTLIST dir
532   %attrs;
533   compact     (compact)     #IMPLIED
534   >
535
536 <!-- LIStyle is constrained to: "(%ULStyle;|%OLStyle;)" -->
537 <!ENTITY % LIStyle "CDATA">
538
539 <!-- list item -->
540
541 <!ELEMENT li %Flow;>
542 <!ATTLIST li
543   %attrs;
544   type        %LIStyle;      #IMPLIED
545   value       %Number;       #IMPLIED
546   >
547
548 <!-- definition lists - dt for term, dd for its definition -->
549
550 <!ELEMENT dl (dt|dd)+>
551 <!ATTLIST dl
552   %attrs;
553   compact     (compact)      #IMPLIED
554   >
555
556 <!ELEMENT dt %Inline;>
557 <!ATTLIST dt
558   %attrs;
559   >
560
561 <!ELEMENT dd %Flow;>
562 <!ATTLIST dd
563   %attrs;
564   >
565
566 <!--=================== Address ==========================================-->
567
568 <!-- information on author -->
569
570 <!ELEMENT address %Inline;>
571 <!ATTLIST address
572   %attrs;
573   >
574
575 <!--=================== Horizontal Rule ==================================-->
576
577 <!ELEMENT hr EMPTY>
578 <!ATTLIST hr
579   %attrs;
580   align       (left|center|right) #IMPLIED
581   noshade     (noshade)      #IMPLIED
582   size        %Pixels;       #IMPLIED
583   width       %Length;       #IMPLIED
584   >
585
586 <!--=================== Preformatted Text ================================-->
587
588 <!-- content is %Inline; excluding 
589         "img|object|applet|big|small|sub|sup|font|basefont" -->
590
591 <!ELEMENT pre %pre.content;>
592 <!ATTLIST pre
593   %attrs;
594   width       %Number;      #IMPLIED
595   xml:space   (preserve)    #FIXED 'preserve'
596   >
597
598 <!--=================== Block-like Quotes ================================-->
599
600 <!ELEMENT blockquote %Flow;>
601 <!ATTLIST blockquote
602   %attrs;
603   cite        %URI;          #IMPLIED
604   >
605
606 <!--=================== Text alignment ===================================-->
607
608 <!-- center content -->
609 <!ELEMENT center %Flow;>
610 <!ATTLIST center
611   %attrs;
612   >
613
614 <!--=================== Inserted/Deleted Text ============================-->
615
616 <!--
617   ins/del are allowed in block and inline content, but its
618   inappropriate to include block content within an ins element
619   occurring in inline content.
620 -->
621 <!ELEMENT ins %Flow;>
622 <!ATTLIST ins
623   %attrs;
624   cite        %URI;          #IMPLIED
625   datetime    %Datetime;     #IMPLIED
626   >
627
628 <!ELEMENT del %Flow;>
629 <!ATTLIST del
630   %attrs;
631   cite        %URI;          #IMPLIED
632   datetime    %Datetime;     #IMPLIED
633   >
634
635 <!--================== The Anchor Element ================================-->
636
637 <!-- content is %Inline; except that anchors shouldn't be nested -->
638
639 <!ELEMENT a %a.content;>
640 <!ATTLIST a
641   %attrs;
642   charset     %Charset;      #IMPLIED
643   type        %ContentType;  #IMPLIED
644   name        NMTOKEN        #IMPLIED
645   href        %URI;          #IMPLIED
646   hreflang    %LanguageCode; #IMPLIED
647   rel         %LinkTypes;    #IMPLIED
648   rev         %LinkTypes;    #IMPLIED
649   accesskey   %Character;    #IMPLIED
650   shape       %Shape;        "rect"
651   coords      %Coords;       #IMPLIED
652   tabindex    %Number;       #IMPLIED
653   onfocus     %Script;       #IMPLIED
654   onblur      %Script;       #IMPLIED
655   target      %FrameTarget;  #IMPLIED
656   >
657
658 <!--===================== Inline Elements ================================-->
659
660 <!ELEMENT span %Inline;> <!-- generic language/style container -->
661 <!ATTLIST span
662   %attrs;
663   >
664
665 <!ELEMENT bdo %Inline;>  <!-- I18N BiDi over-ride -->
666 <!ATTLIST bdo
667   %coreattrs;
668   %events;
669   lang        %LanguageCode; #IMPLIED
670   xml:lang    %LanguageCode; #IMPLIED
671   dir         (ltr|rtl)      #REQUIRED
672   >
673
674 <!ELEMENT br EMPTY>   <!-- forced line break -->
675 <!ATTLIST br
676   %coreattrs;
677   clear       (left|all|right|none) "none"
678   >
679
680 <!ELEMENT em %Inline;>   <!-- emphasis -->
681 <!ATTLIST em %attrs;>
682
683 <!ELEMENT strong %Inline;>   <!-- strong emphasis -->
684 <!ATTLIST strong %attrs;>
685
686 <!ELEMENT dfn %Inline;>   <!-- definitional -->
687 <!ATTLIST dfn %attrs;>
688
689 <!ELEMENT code %Inline;>   <!-- program code -->
690 <!ATTLIST code %attrs;>
691
692 <!ELEMENT samp %Inline;>   <!-- sample -->
693 <!ATTLIST samp %attrs;>
694
695 <!ELEMENT kbd %Inline;>  <!-- something user would type -->
696 <!ATTLIST kbd %attrs;>
697
698 <!ELEMENT var %Inline;>   <!-- variable -->
699 <!ATTLIST var %attrs;>
700
701 <!ELEMENT cite %Inline;>   <!-- citation -->
702 <!ATTLIST cite %attrs;>
703
704 <!ELEMENT abbr %Inline;>   <!-- abbreviation -->
705 <!ATTLIST abbr %attrs;>
706
707 <!ELEMENT acronym %Inline;>   <!-- acronym -->
708 <!ATTLIST acronym %attrs;>
709
710 <!ELEMENT q %Inline;>   <!-- inlined quote -->
711 <!ATTLIST q
712   %attrs;
713   cite        %URI;          #IMPLIED
714   >
715
716 <!ELEMENT sub %Inline;> <!-- subscript -->
717 <!ATTLIST sub %attrs;>
718
719 <!ELEMENT sup %Inline;> <!-- superscript -->
720 <!ATTLIST sup %attrs;>
721
722 <!ELEMENT tt %Inline;>   <!-- fixed pitch font -->
723 <!ATTLIST tt %attrs;>
724
725 <!ELEMENT i %Inline;>   <!-- italic font -->
726 <!ATTLIST i %attrs;>
727
728 <!ELEMENT b %Inline;>   <!-- bold font -->
729 <!ATTLIST b %attrs;>
730
731 <!ELEMENT big %Inline;>   <!-- bigger font -->
732 <!ATTLIST big %attrs;>
733
734 <!ELEMENT small %Inline;>   <!-- smaller font -->
735 <!ATTLIST small %attrs;>
736
737 <!ELEMENT u %Inline;>   <!-- underline -->
738 <!ATTLIST u %attrs;>
739
740 <!ELEMENT s %Inline;>   <!-- strike-through -->
741 <!ATTLIST s %attrs;>
742
743 <!ELEMENT strike %Inline;>   <!-- strike-through -->
744 <!ATTLIST strike %attrs;>
745
746 <!ELEMENT basefont EMPTY>  <!-- base font size -->
747 <!ATTLIST basefont
748   id          ID             #IMPLIED
749   size        CDATA          #REQUIRED
750   color       %Color;        #IMPLIED
751   face        CDATA          #IMPLIED
752   >
753
754 <!ELEMENT font %Inline;> <!-- local change to font -->
755 <!ATTLIST font
756   %coreattrs;
757   %i18n;
758   size        CDATA          #IMPLIED
759   color       %Color;        #IMPLIED
760   face        CDATA          #IMPLIED
761   >
762
763 <!--==================== Object ======================================-->
764 <!--
765   object is used to embed objects as part of HTML pages.
766   param elements should precede other content. Parameters
767   can also be expressed as attribute/value pairs on the
768   object element itself when brevity is desired.
769 -->
770
771 <!ELEMENT object (#PCDATA | param | %block; | form | %inline; | %misc;)*>
772 <!ATTLIST object
773   %attrs;
774   declare     (declare)      #IMPLIED
775   classid     %URI;          #IMPLIED
776   codebase    %URI;          #IMPLIED
777   data        %URI;          #IMPLIED
778   type        %ContentType;  #IMPLIED
779   codetype    %ContentType;  #IMPLIED
780   archive     %UriList;      #IMPLIED
781   standby     %Text;         #IMPLIED
782   height      %Length;       #IMPLIED
783   width       %Length;       #IMPLIED
784   usemap      %URI;          #IMPLIED
785   name        NMTOKEN        #IMPLIED
786   tabindex    %Number;       #IMPLIED
787   align       %ImgAlign;     #IMPLIED
788   border      %Pixels;       #IMPLIED
789   hspace      %Pixels;       #IMPLIED
790   vspace      %Pixels;       #IMPLIED
791   >
792
793 <!--
794   param is used to supply a named property value.
795   In XML it would seem natural to follow RDF and support an
796   abbreviated syntax where the param elements are replaced
797   by attribute value pairs on the object start tag.
798 -->
799 <!ELEMENT param EMPTY>
800 <!ATTLIST param
801   id          ID             #IMPLIED
802   name        CDATA          #REQUIRED
803   value       CDATA          #IMPLIED
804   valuetype   (data|ref|object) "data"
805   type        %ContentType;  #IMPLIED
806   >
807
808 <!--=================== Java applet ==================================-->
809 <!--
810   One of code or object attributes must be present.
811   Place param elements before other content.
812 -->
813 <!ELEMENT applet (#PCDATA | param | %block; | form | %inline; | %misc;)*>
814 <!ATTLIST applet
815   %coreattrs;
816   codebase    %URI;          #IMPLIED
817   archive     CDATA          #IMPLIED
818   code        CDATA          #IMPLIED
819   object      CDATA          #IMPLIED
820   alt         %Text;         #IMPLIED
821   name        NMTOKEN        #IMPLIED
822   width       %Length;       #REQUIRED
823   height      %Length;       #REQUIRED
824   align       %ImgAlign;     #IMPLIED
825   hspace      %Pixels;       #IMPLIED
826   vspace      %Pixels;       #IMPLIED
827   >
828
829 <!--=================== Images ===========================================-->
830
831 <!--
832    To avoid accessibility problems for people who aren't
833    able to see the image, you should provide a text
834    description using the alt and longdesc attributes.
835    In addition, avoid the use of server-side image maps.
836 -->
837
838 <!ELEMENT img EMPTY>
839 <!ATTLIST img
840   %attrs;
841   src         %URI;          #REQUIRED
842   alt         %Text;         #REQUIRED
843   name        NMTOKEN        #IMPLIED
844   longdesc    %URI;          #IMPLIED
845   height      %Length;       #IMPLIED
846   width       %Length;       #IMPLIED
847   usemap      %URI;          #IMPLIED
848   ismap       (ismap)        #IMPLIED
849   align       %ImgAlign;     #IMPLIED
850   border      %Length;       #IMPLIED
851   hspace      %Pixels;       #IMPLIED
852   vspace      %Pixels;       #IMPLIED
853   >
854
855 <!-- usemap points to a map element which may be in this document
856   or an external document, although the latter is not widely supported -->
857
858 <!--================== Client-side image maps ============================-->
859
860 <!-- These can be placed in the same document or grouped in a
861      separate document although this isn't yet widely supported -->
862
863 <!ELEMENT map ((%block; | form | %misc;)+ | area+)>
864 <!ATTLIST map
865   %i18n;
866   %events;
867   id          ID             #REQUIRED
868   class       CDATA          #IMPLIED
869   style       %StyleSheet;   #IMPLIED
870   title       %Text;         #IMPLIED
871   name        CDATA          #IMPLIED
872   >
873
874 <!ELEMENT area EMPTY>
875 <!ATTLIST area
876   %attrs;
877   shape       %Shape;        "rect"
878   coords      %Coords;       #IMPLIED
879   href        %URI;          #IMPLIED
880   nohref      (nohref)       #IMPLIED
881   alt         %Text;         #REQUIRED
882   tabindex    %Number;       #IMPLIED
883   accesskey   %Character;    #IMPLIED
884   onfocus     %Script;       #IMPLIED
885   onblur      %Script;       #IMPLIED
886   target      %FrameTarget;  #IMPLIED
887   >
888
889 <!--================ Forms ===============================================-->
890
891 <!ELEMENT form %form.content;>   <!-- forms shouldn't be nested -->
892
893 <!ATTLIST form
894   %attrs;
895   action      %URI;          #REQUIRED
896   method      (get|post)     "get"
897   name        NMTOKEN        #IMPLIED
898   enctype     %ContentType;  "application/x-www-form-urlencoded"
899   onsubmit    %Script;       #IMPLIED
900   onreset     %Script;       #IMPLIED
901   accept      %ContentTypes; #IMPLIED
902   accept-charset %Charsets;  #IMPLIED
903   target      %FrameTarget;  #IMPLIED
904   >
905
906 <!--
907   Each label must not contain more than ONE field
908   Label elements shouldn't be nested.
909 -->
910 <!ELEMENT label %Inline;>
911 <!ATTLIST label
912   %attrs;
913   for         IDREF          #IMPLIED
914   accesskey   %Character;    #IMPLIED
915   onfocus     %Script;       #IMPLIED
916   onblur      %Script;       #IMPLIED
917   >
918
919 <!ENTITY % InputType
920   "(text | password | checkbox |
921     radio | submit | reset |
922     file | hidden | image | button)"
923    >
924
925 <!-- the name attribute is required for all but submit & reset -->
926
927 <!ELEMENT input EMPTY>     <!-- form control -->
928 <!ATTLIST input
929   %attrs;
930   type        %InputType;    "text"
931   name        CDATA          #IMPLIED
932   value       CDATA          #IMPLIED
933   checked     (checked)      #IMPLIED
934   disabled    (disabled)     #IMPLIED
935   readonly    (readonly)     #IMPLIED
936   size        CDATA          #IMPLIED
937   maxlength   %Number;       #IMPLIED
938   src         %URI;          #IMPLIED
939   alt         CDATA          #IMPLIED
940   usemap      %URI;          #IMPLIED
941   tabindex    %Number;       #IMPLIED
942   accesskey   %Character;    #IMPLIED
943   onfocus     %Script;       #IMPLIED
944   onblur      %Script;       #IMPLIED
945   onselect    %Script;       #IMPLIED
946   onchange    %Script;       #IMPLIED
947   accept      %ContentTypes; #IMPLIED
948   align       %ImgAlign;     #IMPLIED
949   >
950
951 <!ELEMENT select (optgroup|option)+>  <!-- option selector -->
952 <!ATTLIST select
953   %attrs;
954   name        CDATA          #IMPLIED
955   size        %Number;       #IMPLIED
956   multiple    (multiple)     #IMPLIED
957   disabled    (disabled)     #IMPLIED
958   tabindex    %Number;       #IMPLIED
959   onfocus     %Script;       #IMPLIED
960   onblur      %Script;       #IMPLIED
961   onchange    %Script;       #IMPLIED
962   >
963
964 <!ELEMENT optgroup (option)+>   <!-- option group -->
965 <!ATTLIST optgroup
966   %attrs;
967   disabled    (disabled)     #IMPLIED
968   label       %Text;         #REQUIRED
969   >
970
971 <!ELEMENT option (#PCDATA)>     <!-- selectable choice -->
972 <!ATTLIST option
973   %attrs;
974   selected    (selected)     #IMPLIED
975   disabled    (disabled)     #IMPLIED
976   label       %Text;         #IMPLIED
977   value       CDATA          #IMPLIED
978   >
979
980 <!ELEMENT textarea (#PCDATA)>     <!-- multi-line text field -->
981 <!ATTLIST textarea
982   %attrs;
983   name        CDATA          #IMPLIED
984   rows        %Number;       #REQUIRED
985   cols        %Number;       #REQUIRED
986   disabled    (disabled)     #IMPLIED
987   readonly    (readonly)     #IMPLIED
988   tabindex    %Number;       #IMPLIED
989   accesskey   %Character;    #IMPLIED
990   onfocus     %Script;       #IMPLIED
991   onblur      %Script;       #IMPLIED
992   onselect    %Script;       #IMPLIED
993   onchange    %Script;       #IMPLIED
994   >
995
996 <!--
997   The fieldset element is used to group form fields.
998   Only one legend element should occur in the content
999   and if present should only be preceded by whitespace.
1000 -->
1001 <!ELEMENT fieldset (#PCDATA | legend | %block; | form | %inline; | %misc;)*>
1002 <!ATTLIST fieldset
1003   %attrs;
1004   >
1005
1006 <!ENTITY % LAlign "(top|bottom|left|right)">
1007
1008 <!ELEMENT legend %Inline;>     <!-- fieldset label -->
1009 <!ATTLIST legend
1010   %attrs;
1011   accesskey   %Character;    #IMPLIED
1012   align       %LAlign;       #IMPLIED
1013   >
1014
1015 <!--
1016  Content is %Flow; excluding a, form, form controls, iframe
1017 --> 
1018 <!ELEMENT button %button.content;>  <!-- push button -->
1019 <!ATTLIST button
1020   %attrs;
1021   name        CDATA          #IMPLIED
1022   value       CDATA          #IMPLIED
1023   type        (button|submit|reset) "submit"
1024   disabled    (disabled)     #IMPLIED
1025   tabindex    %Number;       #IMPLIED
1026   accesskey   %Character;    #IMPLIED
1027   onfocus     %Script;       #IMPLIED
1028   onblur      %Script;       #IMPLIED
1029   >
1030
1031 <!-- single-line text input control (DEPRECATED) -->
1032 <!ELEMENT isindex EMPTY>
1033 <!ATTLIST isindex
1034   %coreattrs;
1035   %i18n;
1036   prompt      %Text;         #IMPLIED
1037   >
1038
1039 <!--======================= Tables =======================================-->
1040
1041 <!-- Derived from IETF HTML table standard, see [RFC1942] -->
1042
1043 <!--
1044  The border attribute sets the thickness of the frame around the
1045  table. The default units are screen pixels.
1046
1047  The frame attribute specifies which parts of the frame around
1048  the table should be rendered. The values are not the same as
1049  CALS to avoid a name clash with the valign attribute.
1050 -->
1051 <!ENTITY % TFrame "(void|above|below|hsides|lhs|rhs|vsides|box|border)">
1052
1053 <!--
1054  The rules attribute defines which rules to draw between cells:
1055
1056  If rules is absent then assume:
1057      "none" if border is absent or border="0" otherwise "all"
1058 -->
1059
1060 <!ENTITY % TRules "(none | groups | rows | cols | all)">
1061   
1062 <!-- horizontal placement of table relative to document -->
1063 <!ENTITY % TAlign "(left|center|right)">
1064
1065 <!-- horizontal alignment attributes for cell contents
1066
1067   char        alignment char, e.g. char=':'
1068   charoff     offset for alignment char
1069 -->
1070 <!ENTITY % cellhalign
1071   "align      (left|center|right|justify|char) #IMPLIED
1072    char       %Character;    #IMPLIED
1073    charoff    %Length;       #IMPLIED"
1074   >
1075
1076 <!-- vertical alignment attributes for cell contents -->
1077 <!ENTITY % cellvalign
1078   "valign     (top|middle|bottom|baseline) #IMPLIED"
1079   >
1080
1081 <!ELEMENT table
1082      (caption?, (col*|colgroup*), thead?, tfoot?, (tbody+|tr+))>
1083 <!ELEMENT caption  %Inline;>
1084 <!ELEMENT thead    (tr)+>
1085 <!ELEMENT tfoot    (tr)+>
1086 <!ELEMENT tbody    (tr)+>
1087 <!ELEMENT colgroup (col)*>
1088 <!ELEMENT col      EMPTY>
1089 <!ELEMENT tr       (th|td)+>
1090 <!ELEMENT th       %Flow;>
1091 <!ELEMENT td       %Flow;>
1092
1093 <!ATTLIST table
1094   %attrs;
1095   summary     %Text;         #IMPLIED
1096   width       %Length;       #IMPLIED
1097   border      %Pixels;       #IMPLIED
1098   frame       %TFrame;       #IMPLIED
1099   rules       %TRules;       #IMPLIED
1100   cellspacing %Length;       #IMPLIED
1101   cellpadding %Length;       #IMPLIED
1102   align       %TAlign;       #IMPLIED
1103   bgcolor     %Color;        #IMPLIED
1104   >
1105
1106 <!ENTITY % CAlign "(top|bottom|left|right)">
1107
1108 <!ATTLIST caption
1109   %attrs;
1110   align       %CAlign;       #IMPLIED
1111   >
1112
1113 <!--
1114 colgroup groups a set of col elements. It allows you to group
1115 several semantically related columns together.
1116 -->
1117 <!ATTLIST colgroup
1118   %attrs;
1119   span        %Number;       "1"
1120   width       %MultiLength;  #IMPLIED
1121   %cellhalign;
1122   %cellvalign;
1123   >
1124
1125 <!--
1126  col elements define the alignment properties for cells in
1127  one or more columns.
1128
1129  The width attribute specifies the width of the columns, e.g.
1130
1131      width=64        width in screen pixels
1132      width=0.5*      relative width of 0.5
1133
1134  The span attribute causes the attributes of one
1135  col element to apply to more than one column.
1136 -->
1137 <!ATTLIST col
1138   %attrs;
1139   span        %Number;       "1"
1140   width       %MultiLength;  #IMPLIED
1141   %cellhalign;
1142   %cellvalign;
1143   >
1144
1145 <!--
1146     Use thead to duplicate headers when breaking table
1147     across page boundaries, or for static headers when
1148     tbody sections are rendered in scrolling panel.
1149
1150     Use tfoot to duplicate footers when breaking table
1151     across page boundaries, or for static footers when
1152     tbody sections are rendered in scrolling panel.
1153
1154     Use multiple tbody sections when rules are needed
1155     between groups of table rows.
1156 -->
1157 <!ATTLIST thead
1158   %attrs;
1159   %cellhalign;
1160   %cellvalign;
1161   >
1162
1163 <!ATTLIST tfoot
1164   %attrs;
1165   %cellhalign;
1166   %cellvalign;
1167   >
1168
1169 <!ATTLIST tbody
1170   %attrs;
1171   %cellhalign;
1172   %cellvalign;
1173   >
1174
1175 <!ATTLIST tr
1176   %attrs;
1177   %cellhalign;
1178   %cellvalign;
1179   bgcolor     %Color;        #IMPLIED
1180   >
1181
1182 <!-- Scope is simpler than headers attribute for common tables -->
1183 <!ENTITY % Scope "(row|col|rowgroup|colgroup)">
1184
1185 <!-- th is for headers, td for data and for cells acting as both -->
1186
1187 <!ATTLIST th
1188   %attrs;
1189   abbr        %Text;         #IMPLIED
1190   axis        CDATA          #IMPLIED
1191   headers     IDREFS         #IMPLIED
1192   scope       %Scope;        #IMPLIED
1193   rowspan     %Number;       "1"
1194   colspan     %Number;       "1"
1195   %cellhalign;
1196   %cellvalign;
1197   nowrap      (nowrap)       #IMPLIED
1198   bgcolor     %Color;        #IMPLIED
1199   width       %Pixels;       #IMPLIED
1200   height      %Pixels;       #IMPLIED
1201   >
1202
1203 <!ATTLIST td
1204   %attrs;
1205   abbr        %Text;         #IMPLIED
1206   axis        CDATA          #IMPLIED
1207   headers     IDREFS         #IMPLIED
1208   scope       %Scope;        #IMPLIED
1209   rowspan     %Number;       "1"
1210   colspan     %Number;       "1"
1211   %cellhalign;
1212   %cellvalign;
1213   nowrap      (nowrap)       #IMPLIED
1214   bgcolor     %Color;        #IMPLIED
1215   width       %Pixels;       #IMPLIED
1216   height      %Pixels;       #IMPLIED
1217   >
1218
1219 <!-- BEGIN MOWGLI extension -->
1220 <!ELEMENT mowgli:latest-news EMPTY>
1221 <!ELEMENT mowgli:approaching-deadlines EMPTY>
1222 <!ELEMENT mowgli:date EMPTY>
1223 <!-- END MOWGLI extension -->