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

  1. <!--
  2.    Extensible HTML version 1.0 Frameset DTD
  3.  
  4.    This is the same as HTML 4.0 Frameset 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">
  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, frameset)>
  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. <!-- only one noframes element permitted per document -->
  358.  
  359. <!ELEMENT frameset (frameset|frame|noframes)*>
  360. <!ATTLIST frameset
  361.   %coreattrs;
  362.   rows        %MultiLengths; #IMPLIED
  363.   cols        %MultiLengths; #IMPLIED
  364.   onload      %Script;       #IMPLIED
  365.   onunload    %Script;       #IMPLIED
  366.   >
  367.  
  368. <!-- reserved frame names start with "_" otherwise starts with letter -->
  369.  
  370. <!-- tiled window within frameset -->
  371.  
  372. <!ELEMENT frame EMPTY>
  373. <!ATTLIST frame
  374.   %coreattrs;
  375.   longdesc    %URI;          #IMPLIED
  376.   name        CDATA          #IMPLIED
  377.   src         %URI;          #IMPLIED
  378.   frameborder (1|0)          "1"
  379.   marginwidth %Pixels;       #IMPLIED
  380.   marginheight %Pixels;      #IMPLIED
  381.   noresize    (noresize)     #IMPLIED
  382.   scrolling   (yes|no|auto)  "auto"
  383.   >
  384.  
  385. <!-- inline subwindow -->
  386.  
  387. <!ELEMENT iframe %Flow;>
  388. <!ATTLIST iframe
  389.   %coreattrs;
  390.   longdesc    %URI;          #IMPLIED
  391.   name        CDATA          #IMPLIED
  392.   src         %URI;          #IMPLIED
  393.   frameborder (1|0)          "1"
  394.   marginwidth %Pixels;       #IMPLIED
  395.   marginheight %Pixels;      #IMPLIED
  396.   scrolling   (yes|no|auto)  "auto"
  397.   align       %ImgAlign;     #IMPLIED
  398.   height      %Length;       #IMPLIED
  399.   width       %Length;       #IMPLIED
  400.   >
  401.  
  402. <!-- alternate content container for non frame-based rendering -->
  403.  
  404. <!ELEMENT noframes (body)>
  405. <!ATTLIST noframes
  406.   %attrs;
  407.   >
  408.  
  409. <!--=================== Document Body ====================================-->
  410.  
  411. <!ELEMENT body %Flow;>
  412. <!ATTLIST body
  413.   %attrs;
  414.   onload      %Script;       #IMPLIED
  415.   onunload    %Script;       #IMPLIED
  416.   background  %URI;          #IMPLIED
  417.   bgcolor     %Color;        #IMPLIED
  418.   text        %Color;        #IMPLIED
  419.   link        %Color;        #IMPLIED
  420.   vlink       %Color;        #IMPLIED
  421.   alink       %Color;        #IMPLIED
  422.   >
  423.  
  424. <!ELEMENT div %Flow;>  <!-- generic language/style container -->
  425. <!ATTLIST div
  426.   %attrs;
  427.   %TextAlign;
  428.   >
  429.  
  430. <!--=================== Paragraphs =======================================-->
  431.  
  432. <!ELEMENT p %Inline;>
  433. <!ATTLIST p
  434.   %attrs;
  435.   %TextAlign;
  436.   >
  437.  
  438. <!--=================== Headings =========================================-->
  439.  
  440. <!--
  441.   There are six levels of headings from h1 (the most important)
  442.   to h6 (the least important).
  443. -->
  444.  
  445. <!ELEMENT h1  %Inline;>
  446. <!ATTLIST h1
  447.   %attrs;
  448.   %TextAlign;
  449.   >
  450.  
  451. <!ELEMENT h2 %Inline;>
  452. <!ATTLIST h2
  453.   %attrs;
  454.   %TextAlign;
  455.   >
  456.  
  457. <!ELEMENT h3 %Inline;>
  458. <!ATTLIST h3
  459.   %attrs;
  460.   %TextAlign;
  461.   >
  462.  
  463. <!ELEMENT h4 %Inline;>
  464. <!ATTLIST h4
  465.   %attrs;
  466.   %TextAlign;
  467.   >
  468.  
  469. <!ELEMENT h5 %Inline;>
  470. <!ATTLIST h5
  471.   %attrs;
  472.   %TextAlign;
  473.   >
  474.  
  475. <!ELEMENT h6 %Inline;>
  476. <!ATTLIST h6
  477.   %attrs;
  478.   %TextAlign;
  479.   >
  480.  
  481. <!--=================== Lists ============================================-->
  482.  
  483. <!-- Unordered list bullet styles -->
  484.  
  485. <!ENTITY % ULStyle "(disc|square|circle)">
  486.  
  487. <!-- Unordered list -->
  488.  
  489. <!ELEMENT ul (li)+>
  490. <!ATTLIST ul
  491.   %attrs;
  492.   type        %ULStyle;     #IMPLIED
  493.   compact     (compact)     #IMPLIED
  494.   >
  495.  
  496. <!-- Ordered list numbering style
  497.  
  498.     1   arabic numbers     1, 2, 3, ...
  499.     a   lower alpha         a, b, c, ...
  500.     A   upper alpha         A, B, C, ...
  501.     i   lower roman         i, ii, iii, ...
  502.     I   upper roman         I, II, III, ...
  503.  
  504.     The style is applied to the sequence number which by default
  505.     is reset to 1 for the first list item in an ordered list.
  506. -->
  507. <!ENTITY % OLStyle "CDATA">
  508.  
  509. <!-- Ordered (numbered) list -->
  510.  
  511. <!ELEMENT ol (li)+>
  512. <!ATTLIST ol
  513.   %attrs;
  514.   type        %OLStyle;      #IMPLIED
  515.   compact     (compact)      #IMPLIED
  516.   start       %Number;       #IMPLIED
  517.   >
  518.  
  519. <!-- single column list (DEPRECATED) --> 
  520. <!ELEMENT menu (li)+>
  521. <!ATTLIST menu
  522.   %attrs;
  523.   compact     (compact)     #IMPLIED
  524.   >
  525.  
  526. <!-- multiple column list (DEPRECATED) --> 
  527. <!ELEMENT dir (li)+>
  528. <!ATTLIST dir
  529.   %attrs;
  530.   compact     (compact)     #IMPLIED
  531.   >
  532.  
  533. <!-- LIStyle is constrained to: "(%ULStyle;|%OLStyle;)" -->
  534. <!ENTITY % LIStyle "CDATA">
  535.  
  536. <!-- list item -->
  537.  
  538. <!ELEMENT li %Flow;>
  539. <!ATTLIST li
  540.   %attrs;
  541.   type        %LIStyle;      #IMPLIED
  542.   value       %Number;       #IMPLIED
  543.   >
  544.  
  545. <!-- definition lists - dt for term, dd for its definition -->
  546.  
  547. <!ELEMENT dl (dt|dd)+>
  548. <!ATTLIST dl
  549.   %attrs;
  550.   compact     (compact)      #IMPLIED
  551.   >
  552.  
  553. <!ELEMENT dt %Inline;>
  554. <!ATTLIST dt
  555.   %attrs;
  556.   >
  557.  
  558. <!ELEMENT dd %Flow;>
  559. <!ATTLIST dd
  560.   %attrs;
  561.   >
  562.  
  563. <!--=================== Address ==========================================-->
  564.  
  565. <!-- information on author -->
  566.  
  567. <!ELEMENT address %Inline;>
  568. <!ATTLIST address
  569.   %attrs;
  570.   >
  571.  
  572. <!--=================== Horizontal Rule ==================================-->
  573.  
  574. <!ELEMENT hr EMPTY>
  575. <!ATTLIST hr
  576.   %attrs;
  577.   align       (left|center|right) #IMPLIED
  578.   noshade     (noshade)      #IMPLIED
  579.   size        %Pixels;       #IMPLIED
  580.   width       %Length;       #IMPLIED
  581.   >
  582.  
  583. <!--=================== Preformatted Text ================================-->
  584.  
  585. <!-- content is %Inline; excluding 
  586.         "img|object|applet|big|small|sub|sup|font|basefont" -->
  587.  
  588. <!ELEMENT pre %pre.content;>
  589. <!ATTLIST pre
  590.   %attrs;
  591.   width       %Number;      #IMPLIED
  592.   xml:space   CDATA         #FIXED    "preserve"
  593.   >
  594.  
  595. <!--=================== Block-like Quotes ================================-->
  596.  
  597. <!ELEMENT blockquote %Flow;>
  598. <!ATTLIST blockquote
  599.   %attrs;
  600.   cite        %URI;          #IMPLIED
  601.   >
  602.  
  603. <!--=================== Text alignment ===================================-->
  604.  
  605. <!-- center content -->
  606. <!ELEMENT center %Flow;>
  607. <!ATTLIST center
  608.   %attrs;
  609.   >
  610.  
  611. <!--=================== Inserted/Deleted Text ============================-->
  612.  
  613.  
  614. <!--
  615.   ins/del are allowed in block and inline content, but its
  616.   inappropriate to include block content within an ins element
  617.   occurring in inline content.
  618. -->
  619. <!ELEMENT ins %Flow;>
  620. <!ATTLIST ins
  621.   %attrs;
  622.   cite        %URI;          #IMPLIED
  623.   datetime    %Datetime;     #IMPLIED
  624.   >
  625.  
  626. <!ELEMENT del %Flow;>
  627. <!ATTLIST del
  628.   %attrs;
  629.   cite        %URI;          #IMPLIED
  630.   datetime    %Datetime;     #IMPLIED
  631.   >
  632.  
  633. <!--================== The Anchor Element ================================-->
  634.  
  635. <!-- content is %Inline; except that anchors shouldn't be nested -->
  636.  
  637. <!ELEMENT a %a.content;>
  638. <!ATTLIST a
  639.   %i18n;
  640.   id          NMTOKEN        #IMPLIED
  641.   class       CDATA          #IMPLIED
  642.   style       %StyleSheet;   #IMPLIED
  643.   title       %Text;         #IMPLIED
  644.   charset     %Charset;      #IMPLIED
  645.   type        %ContentType;  #IMPLIED
  646.   name        ID             #IMPLIED
  647.   href        %URI;          #IMPLIED
  648.   hreflang    %LanguageCode; #IMPLIED
  649.   rel         %LinkTypes;    #IMPLIED
  650.   rev         %LinkTypes;    #IMPLIED
  651.   accesskey   %Character;    #IMPLIED
  652.   shape       %Shape;        "rect"
  653.   coords      %Coords;       #IMPLIED
  654.   tabindex    %Number;       #IMPLIED
  655.   onfocus     %Script;       #IMPLIED
  656.   onblur      %Script;       #IMPLIED
  657.   target      %FrameTarget;  #IMPLIED
  658.   >
  659.  
  660. <!--===================== Inline Elements ================================-->
  661.  
  662. <!ELEMENT span %Inline;> <!-- generic language/style container -->
  663. <!ATTLIST span
  664.   %attrs;
  665.   >
  666.  
  667. <!ELEMENT bdo %Inline;>  <!-- I18N BiDi over-ride -->
  668. <!ATTLIST bdo
  669.   %coreattrs;
  670.   lang        %LanguageCode; #IMPLIED
  671.   xml:lang    %LanguageCode; #IMPLIED
  672.   dir         (ltr|rtl)      #REQUIRED
  673.   >
  674.  
  675. <!ELEMENT br EMPTY>   <!-- forced line break -->
  676. <!ATTLIST br
  677.   %coreattrs;
  678.   clear       (left|all|right|none) "none"
  679.   >
  680.  
  681. <!ELEMENT em %Inline;>   <!-- emphasis -->
  682. <!ATTLIST em %attrs;>
  683.  
  684. <!ELEMENT strong %Inline;>   <!-- strong emphasis -->
  685. <!ATTLIST strong %attrs;>
  686.  
  687. <!ELEMENT dfn %Inline;>   <!-- definitional -->
  688. <!ATTLIST dfn %attrs;>
  689.  
  690. <!ELEMENT code %Inline;>   <!-- program code -->
  691. <!ATTLIST code %attrs;>
  692.  
  693. <!ELEMENT samp %Inline;>   <!-- sample -->
  694. <!ATTLIST samp %attrs;>
  695.  
  696. <!ELEMENT kbd %Inline;>  <!-- something user would type -->
  697. <!ATTLIST kbd %attrs;>
  698.  
  699. <!ELEMENT var %Inline;>   <!-- variable -->
  700. <!ATTLIST var %attrs;>
  701.  
  702. <!ELEMENT cite %Inline;>   <!-- citation -->
  703. <!ATTLIST cite %attrs;>
  704.  
  705. <!ELEMENT abbr %Inline;>   <!-- abbreviation -->
  706. <!ATTLIST abbr %attrs;>
  707.  
  708. <!ELEMENT acronym %Inline;>   <!-- acronym -->
  709. <!ATTLIST acronym %attrs;>
  710.  
  711. <!ELEMENT q %Inline;>   <!-- inlined quote -->
  712. <!ATTLIST q
  713.    %attrs;
  714.   cite        %URI;          #IMPLIED
  715.    >
  716.  
  717. <!ELEMENT sub %Inline;> <!-- subscript -->
  718. <!ATTLIST sub %attrs;>
  719.  
  720. <!ELEMENT sup %Inline;> <!-- superscript -->
  721. <!ATTLIST sup %attrs;>
  722.  
  723. <!ELEMENT tt %Inline;>   <!-- fixed pitch font -->
  724. <!ATTLIST tt %attrs;>
  725.  
  726. <!ELEMENT i %Inline;>   <!-- italic font -->
  727. <!ATTLIST i %attrs;>
  728.  
  729. <!ELEMENT b %Inline;>   <!-- bold font -->
  730. <!ATTLIST b %attrs;>
  731.  
  732. <!ELEMENT big %Inline;>   <!-- bigger font -->
  733. <!ATTLIST big %attrs;>
  734.  
  735. <!ELEMENT small %Inline;>   <!-- smaller font -->
  736. <!ATTLIST small %attrs;>
  737.  
  738. <!ELEMENT u %Inline;>   <!-- underline -->
  739. <!ATTLIST u %attrs;>
  740.  
  741. <!ELEMENT s %Inline;>   <!-- strike-through -->
  742. <!ATTLIST s %attrs;>
  743.  
  744. <!ELEMENT strike %Inline;>   <!-- strike-through -->
  745. <!ATTLIST strike %attrs;>
  746.  
  747. <!ELEMENT basefont EMPTY>  <!-- base font size -->
  748. <!ATTLIST basefont
  749.   id          ID             #IMPLIED
  750.   size        CDATA          #REQUIRED
  751.   color       %Color;        #IMPLIED
  752.   face        CDATA          #IMPLIED
  753.   >
  754.  
  755. <!ELEMENT font %Inline;> <!-- local change to font -->
  756. <!ATTLIST font
  757.   %coreattrs;
  758.   %i18n;
  759.   size        CDATA          #IMPLIED
  760.   color       %Color;        #IMPLIED
  761.   face        CDATA          #IMPLIED
  762.   >
  763.  
  764. <!--==================== Object ======================================-->
  765. <!--
  766.   object is used to embed objects as part of HTML pages.
  767.   param elements should precede other content. Parameters
  768.   can also be expressed as attribute/value pairs on the
  769.   object element itself when brevity is desired.
  770. -->
  771.  
  772. <!ELEMENT object (#PCDATA | param | %block; | form |%inline; | %misc;)*>
  773. <!ATTLIST object
  774.   %attrs;
  775.   declare     (declare)      #IMPLIED
  776.   classid     %URI;          #IMPLIED
  777.   codebase    %URI;          #IMPLIED
  778.   data        %URI;          #IMPLIED
  779.   type        %ContentType;  #IMPLIED
  780.   codetype    %ContentType;  #IMPLIED
  781.   archive     %UriList;      #IMPLIED
  782.   standby     %Text;         #IMPLIED
  783.   height      %Length;       #IMPLIED
  784.   width       %Length;       #IMPLIED
  785.   usemap      %URI;          #IMPLIED
  786.   name        CDATA          #IMPLIED
  787.   tabindex    %Number;       #IMPLIED
  788.   align       %ImgAlign;     #IMPLIED
  789.   border      %Pixels;       #IMPLIED
  790.   hspace      %Pixels;       #IMPLIED
  791.   vspace      %Pixels;       #IMPLIED
  792.   >
  793.  
  794. <!--
  795.   param is used to supply a named property value.
  796.   In XML it would seem natural to follow RDF and support an
  797.   abbreviated syntax where the param elements are replaced
  798.   by attribute value pairs on the object start tag.
  799. -->
  800. <!ELEMENT param EMPTY>
  801. <!ATTLIST param
  802.   id          ID             #IMPLIED
  803.   name        CDATA          #REQUIRED
  804.   value       CDATA          #IMPLIED
  805.   valuetype   (data|ref|object) "data"
  806.   type        %ContentType;  #IMPLIED
  807.   >
  808.  
  809. <!--=================== Java applet ==================================-->
  810. <!--
  811.   One of code or object attributes must be present.
  812.   Place param elements before other content.
  813. -->
  814. <!ELEMENT applet (#PCDATA | param | %block; | form | %inline; | %misc;)*>
  815. <!ATTLIST applet
  816.   %coreattrs;
  817.   codebase    %URI;          #IMPLIED
  818.   archive     CDATA          #IMPLIED
  819.   code        CDATA          #IMPLIED
  820.   object      CDATA          #IMPLIED
  821.   alt         %Text;         #IMPLIED
  822.   name        CDATA          #IMPLIED
  823.   width       %Length;       #REQUIRED
  824.   height      %Length;       #REQUIRED
  825.   align       %ImgAlign;     #IMPLIED
  826.   hspace      %Pixels;       #IMPLIED
  827.   vspace      %Pixels;       #IMPLIED
  828.   >
  829.  
  830. <!--=================== Images ===========================================-->
  831.  
  832. <!--
  833.    To avoid accessibility problems for people who aren't
  834.    able to see the image, you should provide a text
  835.    description using the alt and longdesc attributes.
  836.    In addition, avoid the use of server-side image maps.
  837. -->
  838.  
  839. <!ELEMENT img EMPTY>
  840. <!ATTLIST img
  841.   %attrs;
  842.   src         %URI;          #REQUIRED
  843.   alt         %Text;         #REQUIRED
  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      %Pixels;       #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.   %attrs;
  866.   name        CDATA          #REQUIRED
  867.   >
  868.  
  869. <!ELEMENT area EMPTY>
  870. <!ATTLIST area
  871.   %attrs;
  872.   shape       %Shape;        "rect"
  873.   coords      %Coords;       #IMPLIED
  874.   href        %URI;          #IMPLIED
  875.   nohref      (nohref)       #IMPLIED
  876.   alt         %Text;         #REQUIRED
  877.   tabindex    %Number;       #IMPLIED
  878.   accesskey   %Character;    #IMPLIED
  879.   onfocus     %Script;       #IMPLIED
  880.   onblur      %Script;       #IMPLIED
  881.   target      %FrameTarget;  #IMPLIED
  882.   >
  883.  
  884. <!--================ Forms ===============================================-->
  885.  
  886. <!ELEMENT form %form.content;>   <!-- forms shouldn't be nested -->
  887.  
  888. <!ATTLIST form
  889.   %attrs;
  890.   action      %URI;          #REQUIRED
  891.   method      (get|post)     "get"
  892.   enctype     %ContentType;  "application/x-www-form-urlencoded"
  893.   onsubmit    %Script;       #IMPLIED
  894.   onreset     %Script;       #IMPLIED
  895.   accept      %ContentTypes; #IMPLIED
  896.   accept-charset %Charsets;  #IMPLIED
  897.   target      %FrameTarget;  #IMPLIED
  898.   >
  899.  
  900. <!--
  901.   Each label must not contain more than ONE field
  902.   Label elements shouldn't be nested.
  903. -->
  904. <!ELEMENT label %Inline;>
  905. <!ATTLIST label
  906.   %attrs;
  907.   for         IDREF          #IMPLIED
  908.   accesskey   %Character;    #IMPLIED
  909.   onfocus     %Script;       #IMPLIED
  910.   onblur      %Script;       #IMPLIED
  911.   >
  912.  
  913. <!ENTITY % InputType
  914.   "(text | password | checkbox |
  915.     radio | submit | reset |
  916.     file | hidden | image | button)"
  917.    >
  918.  
  919. <!-- the name attribute is required for all but submit & reset -->
  920.  
  921. <!ELEMENT input EMPTY>     <!-- form control -->
  922. <!ATTLIST input
  923.   %attrs;
  924.   type        %InputType;    "text"
  925.   name        CDATA          #IMPLIED
  926.   value       CDATA          #IMPLIED
  927.   checked     (checked)      #IMPLIED
  928.   disabled    (disabled)     #IMPLIED
  929.   readonly    (readonly)     #IMPLIED
  930.   size        CDATA          #IMPLIED
  931.   maxlength   %Number;       #IMPLIED
  932.   src         %URI;          #IMPLIED
  933.   alt         CDATA          #IMPLIED
  934.   usemap      %URI;          #IMPLIED
  935.   tabindex    %Number;       #IMPLIED
  936.   accesskey   %Character;    #IMPLIED
  937.   onfocus     %Script;       #IMPLIED
  938.   onblur      %Script;       #IMPLIED
  939.   onselect    %Script;       #IMPLIED
  940.   onchange    %Script;       #IMPLIED
  941.   accept      %ContentTypes; #IMPLIED
  942.   align       %ImgAlign;     #IMPLIED
  943.   >
  944.  
  945. <!ELEMENT select (optgroup|option)+>  <!-- option selector -->
  946. <!ATTLIST select
  947.   %attrs;
  948.   name        CDATA          #IMPLIED
  949.   size        %Number;       #IMPLIED
  950.   multiple    (multiple)     #IMPLIED
  951.   disabled    (disabled)     #IMPLIED
  952.   tabindex    %Number;       #IMPLIED
  953.   onfocus     %Script;       #IMPLIED
  954.   onblur      %Script;       #IMPLIED
  955.   onchange    %Script;       #IMPLIED
  956.   >
  957.  
  958. <!ELEMENT optgroup (option)+>   <!-- option group -->
  959. <!ATTLIST optgroup
  960.   %attrs;
  961.   disabled    (disabled)     #IMPLIED
  962.   label       %Text;         #REQUIRED
  963.   >
  964.  
  965. <!ELEMENT option (#PCDATA)>     <!-- selectable choice -->
  966. <!ATTLIST option
  967.   %attrs;
  968.   selected    (selected)     #IMPLIED
  969.   disabled    (disabled)     #IMPLIED
  970.   label       %Text;         #IMPLIED
  971.   value       CDATA          #IMPLIED
  972.   >
  973.  
  974. <!ELEMENT textarea (#PCDATA)>     <!-- multi-line text field -->
  975. <!ATTLIST textarea
  976.   %attrs;
  977.   name        CDATA          #IMPLIED
  978.   rows        %Number;       #REQUIRED
  979.   cols        %Number;       #REQUIRED
  980.   disabled    (disabled)     #IMPLIED
  981.   readonly    (readonly)     #IMPLIED
  982.   tabindex    %Number;       #IMPLIED
  983.   accesskey   %Character;    #IMPLIED
  984.   onfocus     %Script;       #IMPLIED
  985.   onblur      %Script;       #IMPLIED
  986.   onselect    %Script;       #IMPLIED
  987.   onchange    %Script;       #IMPLIED
  988.   >
  989.  
  990. <!--
  991.   The fieldset element is used to group form fields.
  992.   Only one legend element should occur in the content
  993.   and if present should only be preceded by whitespace.
  994. -->
  995. <!ELEMENT fieldset (#PCDATA | legend | %block; | form | %inline; | %misc;)*>
  996. <!ATTLIST fieldset
  997.   %attrs;
  998.   >
  999.  
  1000. <!ENTITY % LAlign "(top|bottom|left|right)">
  1001.  
  1002. <!ELEMENT legend %Inline;>     <!-- fieldset label -->
  1003. <!ATTLIST legend
  1004.   %attrs;
  1005.   accesskey   %Character;    #IMPLIED
  1006.   align       %LAlign;       #IMPLIED
  1007.   >
  1008.  
  1009. <!--
  1010.  Content is %Flow; excluding a, form, form controls, iframe
  1011. --> 
  1012. <!ELEMENT button %button.content;>  <!-- push button -->
  1013. <!ATTLIST button
  1014.   %attrs;
  1015.   name        CDATA          #IMPLIED
  1016.   value       CDATA          #IMPLIED
  1017.   type        (button|submit|reset) "submit"
  1018.   disabled    (disabled)     #IMPLIED
  1019.   tabindex    %Number;       #IMPLIED
  1020.   accesskey   %Character;    #IMPLIED
  1021.   onfocus     %Script;       #IMPLIED
  1022.   onblur      %Script;       #IMPLIED
  1023.   >
  1024.  
  1025. <!-- single-line text input control (DEPRECATED) -->
  1026. <!ELEMENT isindex EMPTY>
  1027. <!ATTLIST isindex
  1028.   %coreattrs;
  1029.   %i18n;
  1030.   prompt      %Text;         #IMPLIED
  1031.   >
  1032.  
  1033. <!--======================= Tables =======================================-->
  1034.  
  1035. <!-- Derived from IETF HTML table standard, see [RFC1942] -->
  1036.  
  1037. <!--
  1038.  The border attribute sets the thickness of the frame around the
  1039.  table. The default units are screen pixels.
  1040.  
  1041.  The frame attribute specifies which parts of the frame around
  1042.  the table should be rendered. The values are not the same as
  1043.  CALS to avoid a name clash with the valign attribute.
  1044. -->
  1045. <!ENTITY % TFrame "(void|above|below|hsides|lhs|rhs|vsides|box|border)">
  1046.  
  1047. <!--
  1048.  The rules attribute defines which rules to draw between cells:
  1049.  
  1050.  If rules is absent then assume:
  1051.      "none" if border is absent or border="0" otherwise "all"
  1052. -->
  1053.  
  1054. <!ENTITY % TRules "(none | groups | rows | cols | all)">
  1055.   
  1056. <!-- horizontal placement of table relative to document -->
  1057. <!ENTITY % TAlign "(left|center|right)">
  1058.  
  1059. <!-- horizontal alignment attributes for cell contents
  1060.  
  1061.   char        alignment char, e.g. char=":"
  1062.   charoff     offset for alignment char
  1063. -->
  1064. <!ENTITY % cellhalign
  1065.   "align      (left|center|right|justify|char) #IMPLIED
  1066.    char       %Character;    #IMPLIED
  1067.    charoff    %Length;       #IMPLIED"
  1068.   >
  1069.  
  1070. <!-- vertical alignment attributes for cell contents -->
  1071. <!ENTITY % cellvalign
  1072.   "valign     (top|middle|bottom|baseline) #IMPLIED"
  1073.   >
  1074.  
  1075. <!ELEMENT table
  1076.      (caption?, (col*|colgroup*), ((thead?, tfoot?, tbody+)|(tr+)))>
  1077. <!ELEMENT caption  %Inline;>
  1078. <!ELEMENT thead    (tr)+>
  1079. <!ELEMENT tfoot    (tr)+>
  1080. <!ELEMENT tbody    (tr)+>
  1081. <!ELEMENT colgroup (col)*>
  1082. <!ELEMENT col      EMPTY>
  1083. <!ELEMENT tr       (th|td)+>
  1084. <!ELEMENT th       %Flow;>
  1085. <!ELEMENT td       %Flow;>
  1086.  
  1087. <!ATTLIST table
  1088.   %attrs;
  1089.   summary     %Text;         #IMPLIED
  1090.   width       %Length;       #IMPLIED
  1091.   border      %Pixels;       #IMPLIED
  1092.   frame       %TFrame;       #IMPLIED
  1093.   rules       %TRules;       #IMPLIED
  1094.   cellspacing %Length;       #IMPLIED
  1095.   cellpadding %Length;       #IMPLIED
  1096.   align       %TAlign;       #IMPLIED
  1097.   bgcolor     %Color;        #IMPLIED
  1098.   >
  1099.  
  1100. <!ENTITY % CAlign "(top|bottom|left|right)">
  1101.  
  1102. <!ATTLIST caption
  1103.   %attrs;
  1104.   align       %CAlign;       #IMPLIED
  1105.   >
  1106.  
  1107. <!--
  1108. colgroup groups a set of col elements. It allows you to group
  1109. several semantically related columns together.
  1110. -->
  1111. <!ATTLIST colgroup
  1112.   %attrs;
  1113.   span        %Number;       "1"
  1114.   width       %MultiLength;  #IMPLIED
  1115.   %cellhalign;
  1116.   %cellvalign;
  1117.   >
  1118.  
  1119. <!--
  1120.  col elements define the alignment properties for cells in
  1121.  one or more columns.
  1122.  
  1123.  The width attribute specifies the width of the columns, e.g.
  1124.  
  1125.      width=64        width in screen pixels
  1126.      width=0.5*      relative width of 0.5
  1127.  
  1128.  The span attribute causes the attributes of one
  1129.  col element to apply to more than one column.
  1130. -->
  1131. <!ATTLIST col
  1132.   %attrs;
  1133.   span        %Number;       "1"
  1134.   width       %MultiLength;  #IMPLIED
  1135.   %cellhalign;
  1136.   %cellvalign;
  1137.   >
  1138.  
  1139. <!--
  1140.     Use thead to duplicate headers when breaking table
  1141.     across page boundaries, or for static headers when
  1142.     tbody sections are rendered in scrolling panel.
  1143.  
  1144.     Use tfoot to duplicate footers when breaking table
  1145.     across page boundaries, or for static footers when
  1146.     tbody sections are rendered in scrolling panel.
  1147.  
  1148.     Use multiple tbody sections when rules are needed
  1149.     between groups of table rows.
  1150. -->
  1151. <!ATTLIST thead
  1152.   %attrs;
  1153.   %cellhalign;
  1154.   %cellvalign;
  1155.   >
  1156.  
  1157. <!ATTLIST tfoot
  1158.   %attrs;
  1159.   %cellhalign;
  1160.   %cellvalign;
  1161.   >
  1162.  
  1163. <!ATTLIST tbody
  1164.   %attrs;
  1165.   %cellhalign;
  1166.   %cellvalign;
  1167.   >
  1168.  
  1169. <!ATTLIST tr
  1170.   %attrs;
  1171.   %cellhalign;
  1172.   %cellvalign;
  1173.   bgcolor     %Color;        #IMPLIED
  1174.   >
  1175.  
  1176. <!-- Scope is simpler than headers attribute for common tables -->
  1177. <!ENTITY % Scope "(row|col|rowgroup|colgroup)">
  1178.  
  1179. <!-- th is for headers, td for data and for cells acting as both -->
  1180.  
  1181. <!ATTLIST th
  1182.   %attrs;
  1183.   abbr        %Text;         #IMPLIED
  1184.   axis        CDATA          #IMPLIED
  1185.   headers     IDREFS         #IMPLIED
  1186.   scope       %Scope;        #IMPLIED
  1187.   rowspan     %Number;       "1"
  1188.   colspan     %Number;       "1"
  1189.   %cellhalign;
  1190.   %cellvalign;
  1191.   nowrap      (nowrap)       #IMPLIED
  1192.   bgcolor     %Color;        #IMPLIED
  1193.   width       %Pixels;       #IMPLIED
  1194.   height      %Pixels;       #IMPLIED
  1195.   >
  1196.  
  1197. <!ATTLIST td
  1198.   %attrs;
  1199.   abbr        %Text;         #IMPLIED
  1200.   axis        CDATA          #IMPLIED
  1201.   headers     IDREFS         #IMPLIED
  1202.   scope       %Scope;        #IMPLIED
  1203.   rowspan     %Number;       "1"
  1204.   colspan     %Number;       "1"
  1205.   %cellhalign;
  1206.   %cellvalign;
  1207.   nowrap      (nowrap)       #IMPLIED
  1208.   bgcolor     %Color;        #IMPLIED
  1209.   width       %Pixels;       #IMPLIED
  1210.   height      %Pixels;       #IMPLIED
  1211.   >
  1212.  
  1213.