home *** CD-ROM | disk | FTP | other *** search
/ XML Bible (2nd Edition) / XML_Bible_Second_Edition_Hungry_Minds_2001.iso / mac / specs / spec.dtd < prev    next >
Text File  |  2001-04-26  |  47KB  |  1,393 lines

  1. <!-- ............................................................... -->
  2. <!-- XML specification DTD ......................................... -->
  3. <!-- ............................................................... -->
  4.  
  5. <!--
  6. TYPICAL INVOCATION:
  7. #  <!DOCTYPE spec PUBLIC
  8. #       "-//W3C//DTD Specification::19980910//EN"
  9. #       "http://www.w3.org/XML/1998/06/xmlspec-19980910.dtd">
  10.  
  11. PURPOSE:
  12.   This DTD was developed for use with the XML family of W3C
  13.   specifications.  It is an XML-compliant DTD based in part on the TEI
  14.   Lite and Sweb DTDs.
  15.  
  16. DEPENDENCIES:
  17.   None.
  18.  
  19. CHANGE HISTORY:
  20.   The list of changes is at the end of the DTD.
  21.  
  22.   For all details, see the design report at:
  23.  
  24. #   <http://www.w3.org/XML/1998/06/xmlspec-report-19980910.htm>
  25.  
  26.   The "typical invocation" FPI always gets updated to reflect the date
  27.   of the most recent changes.
  28.  
  29.   Search this file for "#" in the first column to see change history
  30.   comments.
  31.  
  32. MAINTAINER:
  33.   Eve Maler
  34.   ArborText Inc.
  35.   elm@arbortext.com
  36.   voice: +1 781 270 5750
  37.   fax:   +1 781 273 3760
  38. -->
  39.  
  40. <!-- ............................................................... -->
  41. <!-- Entities for characters and symbols ........................... -->
  42. <!-- ............................................................... -->
  43.  
  44. <!--
  45. #1998-03-10: maler: Added “ and ”.
  46. #                   Used 8879:1986-compatible decimal character
  47. #                   references.
  48. #                   Merged charent.mod file back into main file.
  49. #1998-05-14: maler: Fixed ldquo and rdquo.  Gave mdash a real number.
  50. -->
  51.  
  52. <!ENTITY lt     "&#60;">
  53. <!ENTITY gt     ">">
  54. <!ENTITY amp    "&#38;">
  55. <!ENTITY apos   "'">
  56. <!ENTITY quot   """>
  57. <!ENTITY nbsp   " ">
  58. <!ENTITY mdash  "—">
  59. <!ENTITY ldquo  "“">
  60. <!ENTITY rdquo  "”">
  61.  
  62. <!-- ............................................................... -->
  63. <!-- Entities for classes of standalone elements ................... -->
  64. <!-- ............................................................... -->
  65.  
  66. <!--
  67. #1997-10-16: maler: Added table to %illus.class;.
  68. #1997-11-28: maler: Added htable to %illus.class;.
  69. #1997-12-29: maler: IGNOREd table.
  70. #1998-03-10: maler: Removed SGML Open-specific %illus.class;.
  71. #                   Added "local" entities for customization.
  72. #1998-05-14: maler: Added issue to %note.class;.
  73. #                   Removed %[local.]statusp.class;.
  74. #1998-05-21: maler: Added constraintnote to %note.class;.
  75. #1998-08-22: maler: Changed htable to table in %illus.class;.
  76. #                   Added definitions to %illus.class;.
  77. -->
  78.  
  79. <!ENTITY % local.p.class        "">
  80. <!ENTITY % p.class              "p
  81.                                 %local.p.class;">
  82.  
  83. <!ENTITY % local.list.class     "">
  84. <!ENTITY % list.class           "ulist|olist|slist|glist
  85.                                 %local.list.class;">
  86.  
  87. <!ENTITY % local.speclist.class "">
  88. <!ENTITY % speclist.class       "orglist|blist
  89.                                 %local.speclist.class;">
  90.  
  91. <!ENTITY % local.note.class     "">
  92. <!ENTITY % note.class           "note|issue|wfcnote|vcnote|nscnote
  93.                                 |constraintnote %local.note.class;">
  94.  
  95. <!ENTITY % local.illus.class    "">
  96. <!ENTITY % illus.class          "eg|graphic|scrap|table|definitions
  97.                                 %local.illus.class;">
  98.  
  99. <!-- ............................................................... -->
  100. <!-- Entities for classes of phrase-level elements ................. -->
  101. <!-- ............................................................... -->
  102.  
  103. <!--
  104. #1997-12-29: maler: Added xspecref to %ref.class;.
  105. #1998-03-10: maler: Added %ednote.class;.
  106. #                   Added "local" entities for customization.
  107. -->
  108.  
  109. <!ENTITY % local.annot.class    "">
  110. <!ENTITY % annot.class          "footnote
  111.                                 %local.annot.class;">
  112.  
  113. <!ENTITY % local.termdef.class  "">
  114. <!ENTITY % termdef.class        "termdef|term
  115.                                 %local.termdef.class;">
  116.  
  117. <!ENTITY % local.emph.class     "">
  118. <!ENTITY % emph.class           "emph|quote
  119.                                 %local.emph.class;">
  120.  
  121. <!ENTITY % local.ref.class      "">
  122. <!ENTITY % ref.class            "bibref|specref|termref|titleref
  123.                                 |xspecref|xtermref
  124.                                 %local.ref.class;">
  125.  
  126. <!ENTITY % local.loc.class      "">
  127. <!ENTITY % loc.class            "loc
  128.                                 %local.loc.class;">
  129.  
  130. <!ENTITY % local.tech.class     "">
  131. <!ENTITY % tech.class           "kw|nt|xnt|code
  132.                                 %local.tech.class;">
  133.  
  134. <!ENTITY % local.ednote.class   "">
  135. <!ENTITY % ednote.class         "ednote
  136.                                 %local.ednote.class;">
  137.  
  138. <!-- ............................................................... -->
  139. <!-- Entities for mixtures of standalone elements .................. -->
  140. <!-- ............................................................... -->
  141.  
  142. <!--
  143. #1997-09-30: maler: Created %p.mix; to eliminate p from self.
  144. #1997-09-30: maler: Added %speclist.class; to %obj.mix; and %p.mix;.
  145. #1997-09-30: maler: Added %note.class; to %obj.mix; and %p.mix;.
  146. #1997-10-16: maler: Created %entry.mix;.  Note that some elements
  147. #                   left out here are still allowed in termdef,
  148. #                   which entry can contain through %p.pcd.mix;.
  149. #1997-11-28: maler: Added %p.class; to %statusobj.mix;.
  150. #1998-03-10: maler: Added %ednote.class; to all mixtures, except
  151. #                   %p.mix; and %statusobj.mix;, because paragraphs
  152. #                   and status paragraphs will contain ednote
  153. #                   through %p.pcd.mix;.
  154. #1998-03-23: maler: Added %termdef.mix; (broken out from
  155. #                    %termdef.pcd.mix;).
  156. #1998-05-14: maler: Removed %statusobj.mix; and all mentions of
  157. #                   %statusp.mix;.
  158. -->
  159.  
  160. <!ENTITY % div.mix
  161.         "%p.class;|%list.class;|%speclist.class;|%note.class;
  162.         |%illus.class;|%ednote.class;">
  163. <!ENTITY % obj.mix
  164.         "%p.class;|%list.class;|%speclist.class;|%note.class;
  165.         |%illus.class;|%ednote.class;">
  166. <!ENTITY % p.mix
  167.         "%list.class;|%speclist.class;|%note.class;|%illus.class;">
  168. <!ENTITY % entry.mix
  169.         "%list.class;|note|eg|graphic|%ednote.class;">
  170. <!ENTITY % hdr.mix
  171.         "%p.class;|%list.class;|%ednote.class;">
  172. <!ENTITY % termdef.mix
  173.         "%note.class;|%illus.class;">
  174.  
  175. <!-- ............................................................... -->
  176. <!-- Entities for mixtures of #PCDATA and phrase-level elements .... -->
  177. <!-- ............................................................... -->
  178.  
  179. <!--    Note that %termdef.pcd.mix contains %note.class;
  180.         and %illus.class;, considered standalone elements. -->
  181.  
  182. <!--
  183. #1997-09-30: maler: Added scrap and %note.class; to %termdef.pcd.mix;.
  184. #1997-11-28: maler: Added %loc.class; to %p.pcd.mix;.
  185. #1998-03-10: maler: Added %ednote.class; to all mixtures.
  186. #1998-03-23: maler: Moved some %termdef.pcd.mix; stuff out to
  187. #                   %termdef.mix;.
  188. #1998-05-14: maler: Removed %statusp.pcd.mix;.
  189. #1998-05-21: maler: Added constraint element to %eg.pcd.mix;.
  190. -->
  191.  
  192. <!ENTITY % p.pcd.mix
  193.         "#PCDATA|%annot.class;|%termdef.class;|%emph.class;
  194.         |%ref.class;|%tech.class;|%loc.class;|%ednote.class;">
  195. <!ENTITY % head.pcd.mix
  196.         "#PCDATA|%annot.class;|%emph.class;|%tech.class;
  197.         |%ednote.class;">
  198. <!ENTITY % label.pcd.mix
  199.         "#PCDATA|%annot.class;|%termdef.class;|%emph.class;
  200.         |%tech.class;|%ednote.class;">
  201. <!ENTITY % eg.pcd.mix
  202.         "#PCDATA|%annot.class;|%emph.class;|%ednote.class;|constraint">
  203. <!ENTITY % termdef.pcd.mix
  204.         "#PCDATA|term|%emph.class;|%ref.class;|%tech.class;
  205.         |%ednote.class;">
  206. <!ENTITY % bibl.pcd.mix
  207.         "#PCDATA|%emph.class;|%ref.class;|%loc.class;|%ednote.class;">
  208. <!ENTITY % tech.pcd.mix
  209.         "#PCDATA|%ednote.class;">
  210. <!ENTITY % loc.pcd.mix
  211.         "#PCDATA|%loc.class;|%ednote.class;">
  212.  
  213. <!-- ............................................................... -->
  214. <!-- Entities for customizable content models ...................... -->
  215. <!-- ............................................................... -->
  216.  
  217. <!--
  218. #1998-03-10: maler: Added customization entities.
  219. #1998-05-14: maler: Allowed prevlocs and latestloc in either order.
  220. -->
  221.  
  222. <!ENTITY % spec.mdl
  223.         "header, front?, body, back?">
  224.  
  225. <!ENTITY % header.mdl
  226.         "title, subtitle?, version, w3c-designation, w3c-doctype,
  227.         pubdate, notice*, publoc, ((prevlocs, latestloc?) |
  228.         (latestloc, prevlocs?))?, authlist, status, abstract,
  229.         pubstmt?, sourcedesc?, langusage, revisiondesc">
  230.  
  231. <!ENTITY % pubdate.mdl
  232.         "day?, month, year">
  233.  
  234. <!-- ............................................................... -->
  235. <!-- Entities for common attributes ................................ -->
  236. <!-- ............................................................... -->
  237.  
  238. <!--    key attribute:
  239.         Optionally provides a sorting or indexing key, for cases when
  240.         the element content is inappropriate for this purpose. -->
  241. <!ENTITY % key.att
  242.         'key                    CDATA           #IMPLIED'>
  243.  
  244. <!--    def attribute:
  245.         Points to the element where the relevant definition can be
  246.         found, using the IDREF mechanism.  %def.att; is for optional
  247.         def attributes, and %def-req.att; is for required def
  248.         attributes. -->
  249. <!ENTITY % def.att
  250.         'def                    IDREF           #IMPLIED'>
  251. <!ENTITY % def-req.att
  252.         'def                    IDREF           #REQUIRED'>
  253.  
  254. <!--    ref attribute:
  255.         Points to the element where more information can be found,
  256.         using the IDREF mechanism.  %ref.att; is for optional
  257.         ref attributes, and %ref-req.att; is for required ref
  258.         attributes. -->
  259. <!ENTITY % ref.att
  260.         'ref                    IDREF           #IMPLIED'>
  261. <!ENTITY % ref-req.att
  262.         'ref                    IDREF           #REQUIRED'>
  263.  
  264. <!--
  265. #1998-03-23: maler: Added show and actuate attributes to href.
  266. #                   Added semi-common xml:space attribute.
  267. #1998-08-22: maler: Used new xlink:form and #IMPLIED features.
  268. -->
  269.  
  270. <!--    HREF and source attributes:
  271.         Points to the element where more information or source data
  272.         can be found, using the URL/XLink simple link mechanism.
  273.         For some purposes, is associated with additional XLink
  274.         attributes. %href.att; is for optional HREF attributes,
  275.         and %href-req.att; is for required HREF attributes.
  276.         %source-req.att; is for the source attribute, which
  277.         is always required.  When HREF is supplied in the href.att
  278.         version, default for xlink:form should be understood to be
  279.         "simple". When HREF is not supplied, xlink:form should be
  280.         understood to be "none". -->
  281.         
  282. <!ENTITY % href.att
  283.         'xlink:form             CDATA           #IMPLIED
  284.         href                    CDATA           #IMPLIED
  285.         show                    CDATA           #FIXED "embed"
  286.         actuate                 CDATA           #FIXED "auto" '>
  287.  
  288. <!ENTITY % href-req.att
  289.         'xlink:form             CDATA           #FIXED "simple"
  290.         href                    CDATA           #REQUIRED
  291.         show                    CDATA           #FIXED "embed"
  292.         actuate                 CDATA           #FIXED "auto" '>
  293.  
  294. <!ENTITY % source-req.att
  295.         'xlink:form             CDATA           #FIXED "simple"
  296.         xml:attributes          NMTOKENS        #FIXED "href source"
  297.         source                  CDATA           #REQUIRED
  298.         show                    CDATA           #FIXED "embed"
  299.         actuate                 CDATA           #FIXED "auto" '>
  300.  
  301. <!--    xml:space attribute:
  302.         Indicates that the element contains white space
  303.         that the formatter or other application should retain,
  304.         as appropriate to its function. -->
  305. <!ENTITY % xmlspace.att
  306.         'xml:space              (default
  307.                                 |preserve)      #FIXED "preserve" '>
  308.  
  309. <!--    Common attributes:
  310.         Every element has an ID attribute (sometimes required,
  311.         but usually optional) for links, and a Role attribute
  312.         for extending the useful life of the DTD by allowing
  313.         authors to make subclasses for any element. %common.att;
  314.         is for common attributes where the ID is optional, and
  315.         %common-idreq.att; is for common attributes where the
  316.         ID is required. -->
  317. <!ENTITY % common.att
  318.         'id                     ID              #IMPLIED
  319.         role                    NMTOKEN         #IMPLIED'>
  320. <!ENTITY % common-idreq.att
  321.         'id                     ID              #REQUIRED
  322.         role                    NMTOKEN         #IMPLIED'>
  323.  
  324. <!-- ............................................................... -->
  325. <!-- Common elements ............................................... -->
  326. <!-- ............................................................... -->
  327.  
  328. <!--    head: Title on divisions, productions, and the like -->
  329. <!ELEMENT head (%head.pcd.mix;)*>
  330. <!ATTLIST head %common.att;>
  331.  
  332. <!-- ............................................................... -->
  333. <!-- Major specification structure ................................. -->
  334. <!-- ............................................................... -->
  335.  
  336. <!--
  337. #1998-03-10: maler: Made spec content model easily customizable.
  338. -->
  339.  
  340. <!ELEMENT spec (%spec.mdl;)>
  341. <!ATTLIST spec %common.att;>
  342.  
  343. <!ELEMENT front (div1+)>
  344. <!ATTLIST front %common.att;>
  345.  
  346. <!ELEMENT body (div1+)>
  347. <!ATTLIST body %common.att;>
  348.  
  349. <!--
  350. #1997-09-30: maler: Added inform-div1 to back content.
  351. -->
  352.  
  353. <!ELEMENT back ((div1+, inform-div1*) | inform-div1+)>
  354. <!ATTLIST back %common.att;>
  355.  
  356. <!ELEMENT div1 (head, (%div.mix;)*, div2*)>
  357. <!ATTLIST div1 %common.att;>
  358.  
  359. <!--
  360. #1997-09-30: maler: Added inform-div1 declarations.
  361. -->
  362.  
  363. <!--    inform-div1: Non-normative division in back matter -->
  364. <!ELEMENT inform-div1 (head, (%div.mix;)*, div2*)>
  365. <!ATTLIST inform-div1 %common.att;>
  366.  
  367. <!ELEMENT div2 (head, (%div.mix;)*, div3*)>
  368. <!ATTLIST div2 %common.att;>
  369.  
  370. <!ELEMENT div3 (head, (%div.mix;)*, div4*)>
  371. <!ATTLIST div3 %common.att;>
  372.  
  373. <!ELEMENT div4 (head, (%div.mix;)*)>
  374. <!ATTLIST div4 %common.att;>
  375.  
  376. <!-- ............................................................... -->
  377. <!-- Specification header .......................................... -->
  378. <!-- ............................................................... -->
  379.  
  380. <!--
  381. #1998-03-10: maler: Made header content model easily customizable.
  382. -->
  383.  
  384. <!ELEMENT header (%header.mdl;)>
  385. <!ATTLIST header %common.att;>
  386.  
  387. <!--    Example of title: "Extensible Cheese Language (XCL)" -->
  388. <!ELEMENT title (#PCDATA)>
  389. <!ATTLIST title %common.att;>
  390.  
  391. <!--    Example of subtitle: "A Cheesy Specification" -->
  392. <!ELEMENT subtitle (#PCDATA)>
  393. <!ATTLIST subtitle %common.att;>
  394.  
  395. <!--    Example of version: "Version 666.0" -->
  396. <!ELEMENT version (#PCDATA)>
  397. <!ATTLIST version %common.att;>
  398.  
  399. <!--    Example of w3c-designation: "WD-xcl-19991231" -->
  400. <!ELEMENT w3c-designation (#PCDATA)>
  401. <!ATTLIST w3c-designation %common.att;>
  402.  
  403. <!--    Example of w3c-doctype: "World Wide Web Consortium Working
  404.         Draft" -->
  405. <!ELEMENT w3c-doctype (#PCDATA)>
  406. <!ATTLIST w3c-doctype %common.att;>
  407.  
  408. <!--
  409. #1998-03-10: maler: Made pubdate content model easily customizable.
  410. -->
  411.  
  412. <!ELEMENT pubdate (%pubdate.mdl;)>
  413. <!ATTLIST pubdate %common.att;>
  414.  
  415. <!ELEMENT day (#PCDATA)>
  416. <!ATTLIST day %common.att;>
  417.  
  418. <!ELEMENT month (#PCDATA)>
  419. <!ATTLIST month %common.att;>
  420.  
  421. <!ELEMENT year (#PCDATA)>
  422. <!ATTLIST year %common.att;>
  423.  
  424. <!--    Example of notice: "This draft is for public comment..." -->
  425. <!ELEMENT notice (%hdr.mix;)+>
  426. <!ATTLIST notice %common.att;>
  427.  
  428. <!ELEMENT publoc (loc+)>
  429. <!ATTLIST publoc %common.att;>
  430.  
  431. <!ELEMENT prevlocs (loc+)>
  432. <!ATTLIST prevlocs %common.att;>
  433.  
  434. <!ELEMENT latestloc (loc+)>
  435. <!ATTLIST latestloc %common.att;>
  436.  
  437. <!--      loc (defined in "Phrase-level elements" below) -->
  438.  
  439. <!ELEMENT authlist (author+)>
  440. <!ATTLIST authlist %common.att;>
  441.  
  442. <!--
  443. #1997-09-30: maler: Made affiliation optional.
  444. #1998-03-10: maler: Made email optional.
  445. -->
  446.  
  447. <!ELEMENT author (name, affiliation?, email?)>
  448. <!ATTLIST author %common.att;>
  449.  
  450. <!ELEMENT name (#PCDATA)>
  451. <!ATTLIST name
  452.         %common.att;
  453.         %key.att;>
  454.  
  455. <!ELEMENT affiliation (#PCDATA)>
  456. <!ATTLIST affiliation %common.att;>
  457.  
  458. <!ELEMENT email (#PCDATA)>
  459. <!--    HREF attribute:
  460.         email functions as a hypertext reference through this
  461.         required attribute.  Typically the reference would use
  462.         the mailto: scheme.  E.g.:
  463.  
  464. <email href="mailto:elm@arbortext.com">elm@arbortext.com</email>
  465.         -->
  466.  
  467. <!ATTLIST email
  468.         %common.att;
  469.         %href-req.att;>
  470.  
  471. <!--
  472. #1998-05-15: maler: Changed status content from %statusobj.mix;
  473. #                   to plain %obj.mix;.  statusp is obsolete.
  474. -->
  475.  
  476. <!ELEMENT status (%obj.mix;)+>
  477. <!ATTLIST status %common.att;>
  478.  
  479. <!ELEMENT abstract (%hdr.mix;)*>
  480. <!ATTLIST abstract %common.att;>
  481.  
  482. <!ELEMENT pubstmt (%hdr.mix;)+>
  483. <!ATTLIST pubstmt %common.att;>
  484.  
  485. <!ELEMENT sourcedesc (%hdr.mix;)+>
  486. <!ATTLIST sourcedesc %common.att;>
  487.  
  488. <!ELEMENT langusage (language+)>
  489. <!ATTLIST langusage %common.att;>
  490.  
  491. <!ELEMENT language (#PCDATA)>
  492. <!ATTLIST language %common.att;>
  493.  
  494. <!ELEMENT revisiondesc (%hdr.mix;)+>
  495. <!ATTLIST revisiondesc %common.att;>
  496.  
  497. <!-- ............................................................... -->
  498. <!-- Paragraph ..................................................... -->
  499. <!-- ............................................................... -->
  500.  
  501. <!--
  502. #1997-09-30: maler: Changed from %obj.mix; to %p.mix;.
  503. #1997-12-29: maler: Changed order of %p.mix; and %p.pcd.mix;
  504. #                   references.
  505. #1997-12-29: maler: Changed order of %statusobj.mix; and
  506. #                   %statusp.pcd.mix; references.
  507. #1998-05-14: maler: Removed statusp declarations.
  508. -->
  509.  
  510. <!ELEMENT p (%p.pcd.mix;|%p.mix;)*>
  511. <!ATTLIST p %common.att;>
  512.  
  513. <!-- ............................................................... -->
  514. <!-- Regular lists ................................................. -->
  515. <!-- ............................................................... -->
  516.  
  517. <!ELEMENT ulist (item+)>
  518. <!--    spacing attribute:
  519.         Use "normal" to get normal vertical spacing for items;
  520.         use "compact" to get less spacing.  The default is dependent
  521.         on the stylesheet. -->
  522. <!ATTLIST ulist
  523.         %common.att;
  524.         spacing         (normal|compact)        #IMPLIED>
  525.  
  526. <!ELEMENT olist (item+)>
  527. <!--    spacing attribute:
  528.         Use "normal" to get normal vertical spacing for items;
  529.         use "compact" to get less spacing.  The default is dependent
  530.         on the stylesheet. -->
  531. <!ATTLIST olist
  532.         %common.att;
  533.         spacing         (normal|compact)        #IMPLIED>
  534.  
  535. <!ELEMENT item (%obj.mix;)+>
  536. <!ATTLIST item %common.att;>
  537.  
  538. <!ELEMENT slist (sitem+)>
  539. <!ATTLIST slist %common.att;>
  540.  
  541. <!ELEMENT sitem (%p.pcd.mix;)*>
  542. <!ATTLIST sitem %common.att;>
  543.  
  544. <!ELEMENT glist (gitem+)>
  545. <!ATTLIST glist %common.att;>
  546.  
  547. <!ELEMENT gitem (label, def)>
  548. <!ATTLIST gitem %common.att;>
  549.  
  550. <!ELEMENT label (%label.pcd.mix;)*>
  551. <!ATTLIST label %common.att;>
  552.  
  553. <!ELEMENT def (%obj.mix;)*>
  554. <!ATTLIST def %common.att;>
  555.  
  556. <!-- ............................................................... -->
  557. <!-- Special lists ................................................. -->
  558. <!-- ............................................................... -->
  559.  
  560. <!ELEMENT blist (bibl+)>
  561. <!ATTLIST blist %common.att;>
  562.  
  563. <!ELEMENT bibl (%bibl.pcd.mix;)*>
  564. <!--    HREF attribute:
  565.         bibl optionally functions as a hypertext reference to the
  566.         referred-to resource through this attribute.  E.g.:
  567.  
  568.         <bibl href="http://www.my.com/doc.htm">My Document</bibl>
  569.         -->
  570. <!ATTLIST bibl
  571.         %common.att;
  572.         %href.att;
  573.         %key.att;>
  574.  
  575. <!ELEMENT orglist (member+)>
  576. <!ATTLIST orglist %common.att;>
  577.  
  578. <!--
  579. #1997-09-30: maler: Added optional affiliation.
  580. -->
  581.  
  582. <!ELEMENT member (name, affiliation?, role?)>
  583. <!ATTLIST member %common.att;>
  584.  
  585. <!--      name (defined in "Specification header" above) -->
  586. <!--      affiliation (defined in "Specification header" above) -->
  587.  
  588. <!ELEMENT role (#PCDATA)>
  589. <!ATTLIST role %common.att;>
  590.  
  591. <!-- ............................................................... -->
  592. <!-- Notes ......................................................... -->
  593. <!-- ............................................................... -->
  594.  
  595. <!ELEMENT note (%obj.mix;)+>
  596. <!ATTLIST note %common.att;>
  597.  
  598. <!--
  599. #1998-05-14: maler: Declared issue element.
  600. -->
  601.  
  602. <!ELEMENT issue (%obj.mix;)+>
  603. <!ATTLIST issue %common-idreq.att;>
  604.  
  605. <!ELEMENT wfcnote (head, (%obj.mix;)+)>
  606. <!--    ID attribute:
  607.         wfcnote must have an ID so that it can be pointed to
  608.         from a wfc element in a production. -->
  609. <!ATTLIST wfcnote
  610.         %common-idreq.att;>
  611.  
  612. <!ELEMENT nscnote (head, (%obj.mix;)+)>
  613. <!--    ID attribute:
  614.         nscnote must have an ID so that it can be pointed to
  615.         from a wfc element in a production. -->
  616. <!ATTLIST nscnote
  617.         %common-idreq.att;>
  618.  
  619. <!ELEMENT vcnote (head, (%obj.mix;)+)>
  620. <!--    ID attribute:
  621.         vcnote must have an ID so that it can be pointed to
  622.         from a vc element in a production. -->
  623. <!ATTLIST vcnote
  624.         %common-idreq.att;>
  625.  
  626. <!--
  627. #1998-05-21: maler: Declared generic constraintnote element.
  628. -->
  629.  
  630. <!ELEMENT constraintnote (head, (%obj.mix;)+)>
  631. <!--    ID attribute:
  632.         cnote must have an ID so that it can be pointed to
  633.         from a constraint element in a production. -->
  634. <!--    type attribute:
  635.         cnote must have a type value keyword so that it can be
  636.         correctly characterized in the specification. -->
  637. <!ATTLIST constraintnote
  638.         %common-idreq.att;
  639.         type            NMTOKEN         #REQUIRED>
  640.  
  641. <!-- ............................................................... -->
  642. <!-- Basic display elements ........................................ -->
  643. <!-- ............................................................... -->
  644.  
  645. <!--
  646. #1998-03-23: maler: Added xml:space attribute.
  647. -->
  648.  
  649. <!ELEMENT eg (%eg.pcd.mix;)*>
  650. <!ATTLIST eg
  651.         %common.att;
  652.         %xmlspace.att;>
  653.  
  654. <!ELEMENT graphic EMPTY>
  655. <!--    source attribute:
  656.         The graphic data must reside at the location pointed to.
  657.         This is a hypertext reference, but for practical purposes,
  658.         for now it should just be a pathname. -->
  659. <!ATTLIST graphic
  660.         %common.att;
  661.         %source-req.att;
  662.         alt             CDATA           #IMPLIED>
  663.  
  664. <!-- ............................................................... -->
  665. <!-- EBNF .......................................................... -->
  666. <!-- ............................................................... -->
  667.  
  668. <!--
  669. #1997-11-28: maler: Added prodgroup to scrap and defined it.
  670. #1998-05-21: maler: Added constraint to prod.
  671. -->
  672.  
  673. <!ELEMENT scrap (head, (prodgroup+ | prod+ | bnf))>
  674. <!--    lang attribute:
  675.         The scrap can link to a description of the language used,
  676.         found in a language element in the header. -->
  677. <!ATTLIST scrap
  678.         %common.att;
  679.         lang            IDREF           #IMPLIED>
  680.  
  681. <!ELEMENT prodgroup (prod+)>
  682. <!--    pcw<n> attributes:
  683.         Presentational attributes to control the width
  684.         of the "pseudo-table" columns used to output
  685.         groups of productions. -->
  686. <!ATTLIST prodgroup
  687.         %common.att;
  688.         pcw1            CDATA           #IMPLIED
  689.         pcw2            CDATA           #IMPLIED
  690.         pcw3            CDATA           #IMPLIED
  691.         pcw4            CDATA           #IMPLIED
  692.         pcw5            CDATA           #IMPLIED
  693. >
  694.  
  695. <!ELEMENT prod (lhs, (rhs, (com|wfc|vc|nsc|constraint)*)+)>
  696. <!--    ID attribute:
  697.         The production must have an ID so that cross-references
  698.         (specref) and mentions of nonterminals (nt) can link to
  699.         it. -->
  700. <!ATTLIST prod
  701.         %common-idreq.att;>
  702.  
  703. <!ELEMENT lhs (#PCDATA)>
  704. <!ATTLIST lhs %common.att;>
  705.  
  706. <!ELEMENT rhs (#PCDATA|nt|xnt|com)*>
  707. <!ATTLIST rhs %common.att;>
  708.  
  709. <!--      nt and xnt (defined in "Phrase-level elements" below) -->
  710.  
  711. <!--
  712. #1997-11-28: maler: Added loc and bibref to com content.
  713. #1998-01-06: tbray: added xnt.
  714. -->
  715.  
  716. <!ELEMENT com (#PCDATA|loc|bibref|xnt)*>
  717. <!ATTLIST com %common.att;>
  718.  
  719. <!--    wfc: Should generate the head of the wfcnote pointed to -->
  720. <!ELEMENT wfc EMPTY>
  721. <!--    def attribute:
  722.         Each well formedness tagline in a production must link to the
  723.         wfcnote that defines it. -->
  724. <!ATTLIST wfc
  725.         %def-req.att;
  726.         %common.att;>
  727.  
  728. <!--    nsc: Should generate the head of the nscnote pointed to -->
  729. <!ELEMENT nsc EMPTY>
  730. <!--    def attribute:
  731.         Each well formedness tagline in a production must link to the
  732.         nscnote that defines it. -->
  733. <!ATTLIST nsc
  734.         %def-req.att;
  735.         %common.att;>
  736.  
  737. <!--    vc: Should generate the head of the vcnote pointed to -->
  738. <!ELEMENT vc EMPTY>
  739. <!--    def attribute:
  740.         Each validity tagline in a production must link to the vcnote
  741.         that defines it. -->
  742. <!ATTLIST vc
  743.         %def-req.att;
  744.         %common.att;>
  745.  
  746. <!--
  747. #1998-05-21: maler: Declared generic constraint element.
  748. -->
  749.  
  750. <!--    constraint: Should generate the head of the constraintnote
  751.         pointed to -->
  752. <!ELEMENT constraint EMPTY>
  753. <!--    def attribute:
  754.         Each constraint tagline in a production must link to the
  755.         constraint note that defines it. -->
  756. <!ATTLIST constraint
  757.         %def-req.att;
  758.         %common.att;>
  759.  
  760. <!--
  761. #1998-03-23: maler: Added xml:space attribute.
  762. -->
  763.  
  764. <!--    bnf: Un-marked-up production -->
  765. <!ELEMENT bnf (%eg.pcd.mix;)*>
  766. <!ATTLIST bnf
  767.         %common.att;
  768.         %xmlspace.att;>
  769.  
  770. <!-- ............................................................... -->
  771. <!-- Table ......................................................... -->
  772. <!-- ............................................................... -->
  773.  
  774. <!--
  775. #1997-10-16: maler: Added table mechanism.
  776. #1997-11-28: maler: Added non-null system ID to entity declaration.
  777. #                   Added HTML table module.
  778. #1997-12-29: maler: IGNOREd SGML Open table model.
  779. #1998-03-10: maler: Removed SGML Open table model.
  780. #                   Merged html-tbl.mod file into main file.
  781. #                   Added %common.att; to all HTML table elements.
  782. #1998-05-14: maler: Replaced table model with full HTML 4.0 model.
  783. #                   Removed htable in favor of table.
  784. #                   Removed htbody in favor of tbody.
  785. -->
  786.  
  787. <!ENTITY % cellhalign.att
  788.         'align          (left|center
  789.                         |right|justify
  790.                         |char)          #IMPLIED
  791.         char            CDATA           #IMPLIED
  792.         charoff         CDATA           #IMPLIED'>
  793.  
  794. <!ENTITY % cellvalign.att
  795.         'valign         (top|middle
  796.                         |bottom
  797.                         |baseline)      #IMPLIED'>
  798.  
  799. <!ENTITY % thtd.att
  800.         'abbr           CDATA           #IMPLIED
  801.         axis            CDATA           #IMPLIED
  802.         headers         IDREFS          #IMPLIED
  803.         scope           (row
  804.                         |col
  805.                         |rowgroup
  806.                         |colgroup)      #IMPLIED
  807.         rowspan         NMTOKEN         "1"
  808.         colspan         NMTOKEN         "1"'>
  809.  
  810. <!ENTITY % width.att
  811.         'width          CDATA           #IMPLIED'>
  812.  
  813. <!ENTITY % span.att
  814.         'span           NMTOKEN         "1"'>
  815.  
  816. <!ELEMENT table
  817.         (caption?, (col*|colgroup*), thead?, tfoot?, tbody+)>
  818. <!ATTLIST table
  819.         %common.att;
  820.         %width.att;
  821.         summary         CDATA           #IMPLIED
  822.         border          CDATA           #IMPLIED
  823.         bgcolor         CDATA           #IMPLIED
  824.         frame           (void|above
  825.                         |below|hsides
  826.                         |lhs|rhs
  827.                         |vsides|box
  828.                         |border)        #IMPLIED
  829.         rules           (none|groups
  830.                         |rows|cols
  831.                         |all)           #IMPLIED
  832.         cellspacing     CDATA           #IMPLIED
  833.         cellpadding     CDATA           #IMPLIED>
  834.  
  835. <!ELEMENT caption (%p.pcd.mix;)*>
  836. <!ATTLIST caption %common.att;>
  837.  
  838. <!ELEMENT col EMPTY>
  839. <!ATTLIST col
  840.         %common.att;
  841.         %span.att;
  842.         %width.att;
  843.         %cellhalign.att;
  844.         %cellvalign.att;>
  845.  
  846. <!ELEMENT colgroup (col)*>
  847. <!ATTLIST colgroup
  848.         %common.att;
  849.         %span.att;
  850.         %width.att;
  851.         %cellhalign.att;
  852.         %cellvalign.att;>
  853.  
  854. <!ELEMENT thead (tr)+>
  855. <!ATTLIST thead
  856.         %common.att;
  857.         %cellhalign.att;
  858.         %cellvalign.att;>
  859.  
  860. <!ELEMENT tfoot (tr)+>
  861. <!ATTLIST tfoot
  862.         %common.att;
  863.         %cellhalign.att;
  864.         %cellvalign.att;>
  865.  
  866. <!ELEMENT tbody (tr)+>
  867. <!ATTLIST tbody
  868.         %common.att;
  869.         %cellhalign.att;
  870.         %cellvalign.att;>
  871.  
  872. <!ELEMENT tr (th|td)+>
  873. <!ATTLIST tr
  874.         %common.att;
  875.         %cellhalign.att;
  876.         %cellvalign.att;>
  877.  
  878. <!ELEMENT th (%p.pcd.mix;|%p.mix;)*>
  879. <!ATTLIST th
  880.         %common.att;
  881.         %thtd.att;
  882.         %cellhalign.att;
  883.         %cellvalign.att;>
  884.  
  885. <!ELEMENT td (%p.pcd.mix;|%p.mix;)*>
  886. <!ATTLIST td
  887.         %common.att;
  888.         %thtd.att;
  889.         %cellhalign.att;
  890.         %cellvalign.att;>
  891.  
  892. <!-- ............................................................... -->
  893. <!-- IDL structures for DOM specifications ......................... -->
  894. <!-- ............................................................... -->
  895.  
  896. <!-- ............................................................... -->
  897. <!-- Specialized entities for classes .............................. -->
  898.  
  899. <!ENTITY % idl-desc.class
  900.         "p|note">
  901.  
  902. <!ENTITY % idl-tdef.class
  903.         "typedef|constant|exception|reference|group">
  904.  
  905. <!ENTITY % idl-mod.class
  906.         "module|interface">
  907.  
  908. <!ENTITY % idl-struct.class
  909.         "struct|enum|sequence|union|typename">
  910.  
  911. <!ENTITY % idl-meth.class
  912.         "method|attribute">
  913.  
  914. <!-- ............................................................... -->
  915. <!-- Specialized entities for mixtures ............................. -->
  916.  
  917. <!--    Quick reference to content model mixtures:
  918.  
  919.                         desc tdef mod struct meth
  920. group                     x    x   x    x      x
  921. definitions, module       x    x   x
  922. interface                 x    x               x
  923. typedef, case, component                x
  924. -->
  925.  
  926. <!ENTITY % idl-grp.mix
  927.         "%idl-desc.class;|%idl-tdef.class;|%idl-mod.class;
  928.         |%idl-struct.class;|%idl-meth.class;">
  929.  
  930. <!ENTITY % idl-defn.mix
  931.         "%idl-desc.class;|%idl-tdef.class;|%idl-mod.class;">
  932.  
  933. <!ENTITY % idl-intfc.mix
  934.         "%idl-desc.class;|%idl-tdef.class;|%idl-meth.class;">
  935.  
  936. <!ENTITY % idl-type.mix
  937.         "%idl-struct.class;">
  938.  
  939. <!-- ............................................................... -->
  940. <!-- Specialized entities for common attributes .................... -->
  941.  
  942. <!--    name attribute:
  943.         Provides a name.  Required. -->
  944. <!ENTITY % idl-name.att
  945.         'name                   CDATA           #REQUIRED'>
  946.  
  947. <!--    type attribute:
  948.         Provides a type.  Required. -->
  949. <!ENTITY % idl-type.att
  950.         'type                   CDATA           #REQUIRED'>
  951.  
  952. <!-- ............................................................... -->
  953. <!-- Common IDL element ............................................ -->
  954.  
  955. <!ELEMENT descr ((%obj.mix;)*)>
  956. <!ATTLIST descr %common.att;>
  957.  
  958. <!-- ............................................................... -->
  959. <!-- IDL definition elements ....................................... -->
  960.  
  961. <!--    definitions: Top-level element for definitions -->
  962. <!ELEMENT definitions (%idl-defn.mix;)+>
  963. <!ATTLIST definitions %common.att;>
  964.  
  965. <!--    group: Element used to group a set of definitions -->
  966.  
  967. <!ELEMENT group (descr, (%idl-grp.mix;)*)>
  968. <!ATTLIST group
  969.         %common.att;
  970.         %idl-name.att;>
  971.  
  972. <!--    interface: Definition of an interface. -->
  973. <!ELEMENT interface (descr, (%idl-intfc.mix;)*)>
  974. <!ATTLIST interface
  975.         %common.att;
  976.         %idl-name.att;
  977.         inherits        CDATA           #IMPLIED>
  978.  
  979. <!--    module: Definition of a module. -->
  980. <!ELEMENT module (descr, (%idl-defn.mix;)*)>
  981. <!ATTLIST module
  982.         %common.att;
  983.         %idl-name.att;>
  984.  
  985. <!--    reference: Reference to some other declaration. -->
  986. <!ELEMENT reference EMPTY>
  987. <!ATTLIST reference
  988.         %common.att;
  989.         declaration     IDREF           #REQUIRED>
  990.  
  991. <!--    typedef: Definition of a named type -->
  992. <!ELEMENT typedef (descr, (%idl-type.mix;))>
  993. <!ATTLIST typedef
  994.         %common.att;
  995.         %idl-name.att;
  996.         array.size      NMTOKEN         #IMPLIED>
  997.  
  998. <!--    struct: Declaration of a struct type -->
  999. <!ELEMENT struct (descr, component+)>
  1000. <!ATTLIST struct
  1001.         %common.att;
  1002.         %idl-name.att;>
  1003.  
  1004. <!--    component: Declaration of a structural member -->
  1005. <!ELEMENT component (%idl-type.mix;)>
  1006. <!ATTLIST component
  1007.         %common.att;
  1008.         %idl-name.att;>
  1009.  
  1010. <!--    union: Declaration of a union type -->
  1011. <!ELEMENT union (descr, case+)>
  1012. <!ATTLIST union
  1013.         %common.att;
  1014.         %idl-name.att;
  1015.         switch.type     CDATA           #REQUIRED>
  1016.  
  1017. <!ELEMENT case (descr, (%idl-type.mix;))>
  1018. <!ATTLIST case
  1019.         %common.att;
  1020.         labels          CDATA           #REQUIRED>
  1021.  
  1022. <!--    enum: Declaration of an enum type -->
  1023. <!ELEMENT enum (descr, enumerator+)>
  1024. <!ATTLIST enum
  1025.         %common.att;
  1026.         %idl-name.att;>
  1027.  
  1028. <!ELEMENT enumerator (descr)>
  1029. <!ATTLIST enumerator
  1030.         %common.att;
  1031.         %idl-name.att;>
  1032.  
  1033. <!--    sequence: Declaration of a sequence type (not named) -->
  1034. <!ELEMENT sequence (sequence*)>
  1035. <!ATTLIST sequence
  1036.         %common.att;
  1037.         %idl-type.att;
  1038.         size            NMTOKEN         #IMPLIED>
  1039.  
  1040. <!--    constant: Declaration of a named constant -->
  1041. <!ELEMENT constant (descr)>
  1042. <!ATTLIST constant
  1043.         %common.att;
  1044.         %idl-name.att;
  1045.         %idl-type.att;
  1046.         value           CDATA           #REQUIRED>
  1047.  
  1048. <!--    exception: Declaration of an exception -->
  1049. <!ELEMENT exception (descr, component*)>
  1050. <!ATTLIST exception
  1051.         %common.att;
  1052.         %idl-name.att;>
  1053. <!-- component (defined under struct, above)-->
  1054.  
  1055. <!--    attribute: Declaration of an attribute (data member) -->
  1056. <!ELEMENT attribute (descr)>
  1057. <!ATTLIST attribute
  1058.         %common.att;
  1059.         %idl-name.att;
  1060.         %idl-type.att;
  1061.         readonly        (yes
  1062.                         |no)            "no">
  1063.  
  1064. <!--    method: Declaration of a method -->
  1065. <!ELEMENT method (descr, parameters, returns, raises)>
  1066. <!ATTLIST method
  1067.         %common.att;
  1068.         %idl-name.att;>
  1069.  
  1070. <!ELEMENT parameters (param*)>
  1071. <!ATTLIST parameters %common.att;>
  1072.  
  1073. <!ELEMENT param (descr)>
  1074. <!ATTLIST param
  1075.         %common.att;
  1076.         %idl-name.att;
  1077.         %idl-type.att;
  1078.         attr            (in
  1079.                         |out
  1080.                         |inout)         "inout">
  1081.  
  1082. <!ELEMENT returns (descr)>
  1083. <!ATTLIST returns
  1084.         %common.att;
  1085.         %idl-type.att;>
  1086.  
  1087. <!ELEMENT raises (exception*)>
  1088. <!-- exception (defined under constant, above)-->
  1089.  
  1090. <!ELEMENT typename (#PCDATA)>
  1091. <!ATTLIST typename %common.att;>
  1092.  
  1093. <!-- ............................................................... -->
  1094. <!-- Phrase-level elements ......................................... -->
  1095. <!-- ............................................................... -->
  1096.  
  1097. <!--    bibref: Should generate, in square brackets, "key" on bibl -->
  1098. <!ELEMENT bibref EMPTY>
  1099. <!--    ref attribute:
  1100.         A bibliography reference must link to the bibl element that
  1101.         describes the resource. -->
  1102. <!ATTLIST bibref
  1103.         %common.att;
  1104.         %ref-req.att;>
  1105.  
  1106. <!ELEMENT code (%tech.pcd.mix;)*>
  1107. <!ATTLIST code %common.att;>
  1108.  
  1109. <!--
  1110. #1998-03-10: maler: Declared ednote and related elements.
  1111. -->
  1112.  
  1113. <!ELEMENT ednote (name?, date?, edtext)>
  1114. <!ATTLIST ednote %common.att;>
  1115.  
  1116. <!ELEMENT date (#PCDATA)>
  1117. <!ATTLIST date %common.att;>
  1118.  
  1119. <!ELEMENT edtext (#PCDATA)>
  1120. <!ATTLIST edtext %common.att;>
  1121.  
  1122. <!ELEMENT emph (#PCDATA)>
  1123. <!ATTLIST emph %common.att;>
  1124.  
  1125. <!--    footnote: Both footnote content and call to footnote -->
  1126. <!ELEMENT footnote (%obj.mix;)+>
  1127. <!ATTLIST footnote %common.att;>
  1128.  
  1129. <!ELEMENT kw (%tech.pcd.mix;)*>
  1130. <!ATTLIST kw %common.att;>
  1131.  
  1132. <!ELEMENT loc (#PCDATA)>
  1133. <!--    HREF attribute:
  1134.         The purpose of a loc element is to function as a A-like
  1135.         hypertext link to a resource.  (Ideally, the content of loc
  1136.         will also mention the URI of the resource, so that readers of
  1137.         the printed version will be able to locate the resource.) E.g.:
  1138.  
  1139. <loc href="http://www.my.com/doc.htm">http://www.my.com/doc.htm</loc>
  1140.         -->
  1141. <!ATTLIST loc
  1142.         %common.att;
  1143.         %href-req.att;>
  1144.  
  1145. <!ELEMENT nt (#PCDATA)>
  1146. <!--    def attribute:
  1147.         The nonterminal must link to the production that defines
  1148.         it. -->
  1149. <!ATTLIST nt
  1150.         %common.att;
  1151.         %def-req.att;>
  1152.  
  1153. <!--
  1154. #1998-03-10: maler: Declared quote.
  1155. -->
  1156.  
  1157. <!--    quote: Scare quotes and other purely presentational quotes -->
  1158. <!ELEMENT quote (%p.pcd.mix;)*>
  1159. <!ATTLIST quote %common.att;>
  1160.  
  1161. <!--    specref: Should generate italic "[n.n], Section Title" for
  1162.         div, "n" for numbered item, "[n]" for production, or
  1163.         "Issue n" for issue -->
  1164. <!ELEMENT specref EMPTY>
  1165. <!--    ref attribute:
  1166.         The purpose of a specref element is to link to a div, item
  1167.         in an olist, or production in the current spec. -->
  1168. <!ATTLIST specref
  1169.         %common.att;
  1170.         %ref-req.att;>
  1171.  
  1172. <!ELEMENT term (#PCDATA)>
  1173. <!ATTLIST term %common.att;>
  1174.  
  1175. <!ELEMENT termdef (%termdef.pcd.mix;|%termdef.mix;)*>
  1176. <!--    ID attribute:
  1177.         A term definition must have an ID so that it can be linked
  1178.         to from termref elements. -->
  1179. <!--    term attribute:
  1180.         The canonical form of the term or phrase being defined must
  1181.         appear in this attribute, even if the term or phrase also
  1182.         appears in the element content in identical form (e.g., in
  1183.         the term element). -->
  1184. <!ATTLIST termdef
  1185.         %common-idreq.att;
  1186.         term            CDATA           #REQUIRED>
  1187.  
  1188. <!ELEMENT termref (#PCDATA)>
  1189. <!--    ref attribute:
  1190.         A term reference must link to the termdef element that
  1191.         defines the term. -->
  1192. <!ATTLIST termref
  1193.         %common.att;
  1194.         %def-req.att;>
  1195.  
  1196. <!ELEMENT titleref (#PCDATA)>
  1197. <!--    HREF attribute:
  1198.         A title reference can optionally function as a hypertext
  1199.         link to the resource with this title.  E.g.:
  1200.  
  1201. <loc href="http://www.my.com/doc.htm">http://www.my.com/doc.htm</loc>
  1202.         -->
  1203.  
  1204. <!ATTLIST titleref
  1205.         %common.att;
  1206.         %href.att;>
  1207.  
  1208. <!ELEMENT xnt (#PCDATA)>
  1209. <!--    HREF attribute:
  1210.         The nonterminal must hyperlink to a resource that serves
  1211.         to define it (e.g., a production in a related XML
  1212.         specification).  E.g.:
  1213.  
  1214. <xnt href="http://www.w3.org/TR/spec.htm#prod3">Name</xnt>
  1215.         -->
  1216.  
  1217. <!ATTLIST xnt
  1218.         %common.att;
  1219.         %href-req.att;>
  1220.  
  1221. <!--
  1222. #1997-12-29: maler: Declared xspecref.
  1223. -->
  1224.  
  1225. <!ELEMENT xspecref (#PCDATA)>
  1226. <!--    HREF attribute:
  1227.         The spec reference must hyperlink to the resource to
  1228.         cross-refer to (e.g., a section in a related XML
  1229.         specification).  E.g.:
  1230.  
  1231. <xspecref href="http://www.w3.org/TR/spec.htm#sec2">
  1232. the section on constraints</xspecref>
  1233.         -->
  1234.  
  1235. <!ATTLIST xspecref
  1236.         %common.att;
  1237.         %href-req.att;>
  1238.  
  1239. <!ELEMENT xtermref (#PCDATA)>
  1240. <!--    HREF attribute:
  1241.         The term reference must hyperlink to the resource that
  1242.         serves to define the term (e.g., a term definition in
  1243.         a related XML specification).  E.g.:
  1244.  
  1245. <xtermref href="http://www.w3.org/TR/spec.htm#term5">
  1246. entity
  1247. </xtermref>
  1248.         -->
  1249.  
  1250. <!ATTLIST xtermref
  1251.         %common.att;
  1252.         %href-req.att;>
  1253.  
  1254. <!-- ............................................................... -->
  1255. <!-- Unused elements for ADEPT ..................................... -->
  1256. <!-- ............................................................... -->
  1257.  
  1258. <!--
  1259. #1997-09-30: maler: Added unusued elements.
  1260. #1997-10-14: maler: Fixed div to move nested div to the mixture.
  1261. #1998-05-14: maler: Added key-term, htable, and htbody.
  1262. -->
  1263.  
  1264. <!--    The following elements are purposely declared but never
  1265.         referenced.  Declaring them allows them to be pasted from
  1266.         an HTML document or an earlier version of an XML spec document
  1267.         into a document using this DTD in ADEPT.  The ATD Context
  1268.         Transformation mechanism will try to convert them to the
  1269.         appropriate element for this DTD.  While this conversion will
  1270.         not work for all fragments, it does allow many cases to work
  1271.         reasonably well. -->
  1272.  
  1273. <!ELEMENT div
  1274.         (head?, (%div.mix;|ul|ol|h1|h2|h3|h4|h5|h6|div)*)>
  1275. <!ELEMENT h1 (%head.pcd.mix;|em|a)*>
  1276. <!ELEMENT h2 (%head.pcd.mix;|em|a)*>
  1277. <!ELEMENT h3 (%head.pcd.mix;|em|a)*>
  1278. <!ELEMENT h4 (%head.pcd.mix;|em|a)*>
  1279. <!ELEMENT h5 (%head.pcd.mix;|em|a)*>
  1280. <!ELEMENT h6 (%head.pcd.mix;|em|a)*>
  1281. <!ELEMENT pre (%eg.pcd.mix;|em)*>
  1282. <!ELEMENT ul (item|li)*>
  1283. <!ELEMENT ol (item|li)*>
  1284. <!ELEMENT li (#PCDATA|%obj.mix;)*>
  1285. <!ELEMENT em (#PCDATA)>
  1286. <!ELEMENT a (#PCDATA)>
  1287.  
  1288. <!ELEMENT key-term (#PCDATA)>
  1289. <!ELEMENT htable
  1290.         (caption?, (col*|colgroup*), thead?, tfoot?, tbody+)>
  1291. <!ELEMENT htbody (tr)+>
  1292. <!ELEMENT statusp (%p.pcd.mix;|%p.mix;)*>
  1293.  
  1294. <!-- ............................................................... -->
  1295. <!-- Change history ................................................ -->
  1296. <!-- ............................................................... -->
  1297.  
  1298. <!--
  1299. #1997-08-18: maler
  1300. #- Did a major revision.
  1301. #1997-09-10: maler
  1302. #- Updated FPI.
  1303. #- Removed namekey element and put key attribute on name element.
  1304. #- Made statusp element and supporting entities.
  1305. #- Added slist element with sitem+ content.
  1306. #- Required head on scrap and added new bnf subelement.
  1307. #- Added an xnt element and allowed it and nt in regular text and rhs.
  1308. #- Removed the ntref element.
  1309. #- Added back the com element to the content of rhs.
  1310. #- Added a key attribute to bibl.
  1311. #- Removed the ident element.
  1312. #- Added a term element to be used inside termdef.
  1313. #- Added an xtermref element parallel to termref.
  1314. #- Beefed up DTD comments.
  1315. #1997-09-12: maler
  1316. #- Allowed term element in general text.
  1317. #- Changed bibref to EMPTY.
  1318. #- Added ref.class to termdef.pcd.mix.
  1319. #1997-09-14: maler
  1320. #- Changed main attribute of xtermref from def to href.
  1321. #- Added termdef.class to label contents.
  1322. #1997-09-30: maler
  1323. #- Added character entity module and added new entities.
  1324. #- Removed p from appearing directly in self; created %p.mix;.
  1325. #- Added inform-div (non-normative division) element.
  1326. #- Fixed xtermref comment to mention HREF, not ref.
  1327. #- Extended orglist model to allow optional affiliation.
  1328. #- Modified author to make affiliation optional.
  1329. #- Added %speclist.class; and %note.class; to %obj.mix; and %p.mix;.
  1330. #- Added %note.class; and %illus.class; to %termdef.pcd.mix;.
  1331. #- Added unused HTML elements.
  1332. #- Put empty system ID next to public ID in entity declarations.
  1333. #1997-10-14: maler
  1334. #- Fixed "unused" div content model to move nested div to mixture.
  1335. #1997-10-16: maler
  1336. #- Added SGML Open Exchange tables.
  1337. #1997-11-28: maler
  1338. #- Added support for prodgroup and its attributes.
  1339. #- Added support for HTML tables.
  1340. #- Added loc and bibref to content of com.
  1341. #- Added loc to general p content models.
  1342. #- Allowed p as alternative to statusp in status.
  1343. #- Added non-null system IDs to external parameter entity declarations.
  1344. #- (Modified the SGML Open table module to make it XML-compliant.)
  1345. #- (Modified the character entity module.)
  1346. #1997-12-29: maler
  1347. #- Moved #PCDATA occurrences to come before GIs in content models.
  1348. #- Removed use of the SGML Open table module.
  1349. #- Added xspecref element.
  1350. #- Ensured that all FPIs contain 4-digit year.
  1351. #- (Modified the character entity module.)
  1352. #1998-03-10: maler
  1353. #- Merged the character entity and table modules into the main file.
  1354. #- Added ldquo and rdquo entities.
  1355. #- Added common attributes to prodgroup.
  1356. #- Made the email element in header optional.
  1357. #- Removed reference to the SGML Open table model.
  1358. #- Added ednote element.
  1359. #- Added quote element.
  1360. #- Updated XLink usage to reflect 3 March 1998 WD.
  1361. #- Added "local" entities to the class entities for customization.
  1362. #- Parameterized several content models to allow for customization.
  1363. #1998-03-23: maler
  1364. #- Cleaned up some comments and removed some others.
  1365. #- Added xml:space semi-common attribute to eg and bnf elements.
  1366. #- Added show and embed attributes on all the uses of href.
  1367. #- Added %common.att; to all HTML table elements.
  1368. #- Added a real URI to the "typical invocation" comment.
  1369. #1998-05-14: maler
  1370. #- Fixed mdash, ldquo, and rdquo character entities.
  1371. #- Switched to the full HTML 4.0 table model.
  1372. #- Removed htable/htbody elements and replaced them with table/tbody.
  1373. #- Added issue element to %note.class; and declared it.
  1374. #- Allowed prevlocs and latestloc in either order.
  1375. #- Added key-term, htable, htbody, and statusp as unused elements.
  1376. #- Removed real statusp element in favor of plain p.
  1377. #1998-05-21: maler
  1378. #- Declared generic constraint and constraintnote elements.
  1379. #- Added constraintnote to %note.class;.
  1380. #- Added constraint to %eg.pcd.mix; and prod content model.
  1381. #1998-08-22: maler
  1382. #- Fixed %illus.class; to mention table instead of htable.
  1383. #- Added definitions to %illus.class; for DOM model.
  1384. #- Added DOM definitions element and its substructure.
  1385. #- Updated XLink usage in %href.att; to use xlink:form and #IMPLIED.
  1386. #- Added clarifying comments to HREF-using elements.
  1387. -->
  1388.  
  1389. <!-- ............................................................... -->
  1390. <!-- End of XML specification DTD .................................. -->
  1391. <!-- ............................................................... -->
  1392.  
  1393.