home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 January / PCWorld_2001-01_cd.bin / Software / Topware / xmlspy / xmlspy35.exe / Main / transitional.dtd < prev    next >
Encoding:
Text File  |  2000-11-20  |  31.2 KB  |  1,184 lines

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