home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _C4B25EDF5A33426EA11C8D9692CC1460 < prev    next >
Encoding:
Text File  |  2002-09-20  |  6.5 KB  |  157 lines

  1. <!--  
  2.  | Copyright IBM Corporation, 2001, 2002
  3.  | This file is part of the DITA package on IBM's developerWorks site.
  4.  | See license.txt for disclaimers.
  5.  |
  6.  | The Darwin Information Typing Architecture (DITA) was orginated by
  7.  | IBM's XML Workgroup and ID Workbench tools team.
  8.  |
  9.  | Refer to this file by the following public identfier or an appropriate
  10.  | system identifier:
  11.  |
  12.  |   PUBLIC "-//IBM//ENTITIES DITA CALS Tables//EN"
  13.  |
  14.  | Release history (vrm):
  15.  |   1.0.0 Initial release on developerWorks, March 2001 (dita00.zip)
  16.  |   1.0.1 fix 1 on developerWorks, October 2001 (dita01.zip)
  17.  |   1.0.2 consolidated redesign December 2001
  18.  |   1.0.3 fix 1, dtd freeze for UCD-1 January 2002
  19.  |   1.1.0 Release 1 May 2002
  20.  *-->
  21.  
  22.  
  23. <!-- Usage Notes:
  24.  | This file is based on the OASIS XML Exchange Table Model DTD (itself based on
  25.  | the CALS Table DTD) slightly simplified and having DITA content in its cells.
  26.  |
  27.  | This model has had some features elided for simplification.
  28.  |
  29.  | Attributes with a Boolean value can take the declared value "% yesorno ;"
  30.  | where 0 is false and any other value is true.  Those with impliable values
  31.  | have been preset in this application to "0" as the default setting.
  32.  | 
  33.  | Other content within this fragment must be declared in the context of
  34.  | the embedding DTD:
  35.  |   the title element (inherits whatever caption-like content is declared there)
  36.  |   the entry element (uses tblcell.cnt content, similar to list item or long quotes)
  37.  |
  38.  | For example, this minimal DITA-like subset might be inherited by this fragment:
  39.  *-->
  40. <![IGNORE[
  41.   <!ELEMENT ph             (#PCDATA | ph)*>
  42.  <!ENTITY % tblcell.cnt    "#PCDATA | ph">
  43.  <!ENTITY % title.cnt      "#PCDATA | ph">
  44.  <!ELEMENT title           (%title.cnt;)* > <!-- referenced within the table declaration -->
  45. ]]>
  46.  
  47.  
  48. <!ENTITY % table "table">
  49. <!ENTITY % tgroup "tgroup">
  50. <!ENTITY % colspec "colspec">
  51. <!ENTITY % spanspec "spanspec">
  52. <!ENTITY % thead "thead">
  53. <!ENTITY % tfoot "tfoot">
  54. <!ENTITY % tbody "tbody">
  55. <!ENTITY % row "row">
  56. <!ENTITY % entry "entry">
  57.  
  58.  
  59.  
  60.   <!ENTITY % yesorno   "NMTOKEN" >
  61.  
  62. <!-- Note: frame and scale are members of PE "display-atts" in topic dtd -->
  63. <!-- NOte: "label" and "title" are interchangeable for now; migrate to label ASAP -->
  64.  
  65.   <!ELEMENT table        (((%title;)?, (%desc;)?)?, (%tgroup;)+) >
  66.   <!ATTLIST table         %display-atts;
  67.                           colsep         %yesorno;             #IMPLIED
  68.                           rowsep         %yesorno;             #IMPLIED 
  69.                           rowheader   (firstCol | norowheader) #IMPLIED
  70.                           outputclass CDATA #IMPLIED
  71.                           %univ-atts;
  72. >
  73.  
  74.   <!--ELEMENT title      (#PCDATA) --> <!-- this is defined in the parent DTD -->
  75.  
  76.   <!ELEMENT tgroup       ((%colspec;)*, (%spanspec;)*, (%thead;)?, (%tfoot;)?, %tbody;) >
  77.   <!ATTLIST tgroup        cols       NMTOKEN                #REQUIRED
  78.                           colsep     %yesorno;              #IMPLIED
  79.                           rowsep     %yesorno;              #IMPLIED
  80.                           align      (left | right |
  81.                                       center | justify )    #IMPLIED
  82.                           outputclass CDATA #IMPLIED
  83.                           %univ-atts;
  84. >
  85.  
  86.   <!ELEMENT colspec      EMPTY >
  87.   <!ATTLIST colspec       colnum      NMTOKEN                #IMPLIED
  88.                           colname     NMTOKEN                #IMPLIED
  89.                           align       (left | right |
  90.                                        center | justify )    #IMPLIED
  91.                           colwidth    CDATA                  #IMPLIED
  92.                           colsep      %yesorno;              #IMPLIED
  93.                           rowsep      %yesorno;              #IMPLIED 
  94. >
  95.  
  96.   <!ELEMENT spanspec     EMPTY >
  97.   <!ATTLIST spanspec      namest      NMTOKEN                #REQUIRED
  98.                           nameend     NMTOKEN                #REQUIRED
  99.                           spanname    NMTOKEN                #REQUIRED
  100.                           align       (left | right |
  101.                                        center | justify )    #IMPLIED
  102.                           colsep      %yesorno;              #IMPLIED
  103.                           rowsep      %yesorno;              #IMPLIED
  104. >
  105.  
  106.   <!ELEMENT thead        ((%colspec;)*, (%row;)+) >
  107.   <!ATTLIST thead         valign      (top | middle | bottom) #IMPLIED
  108.                           outputclass CDATA #IMPLIED
  109.                           %univ-atts;
  110. >
  111.  
  112.   <!ELEMENT tfoot        ((%colspec;)*, (%row;)+) >
  113.   <!ATTLIST tfoot         valign      (top | middle | bottom) #IMPLIED
  114.                           outputclass CDATA #IMPLIED
  115.                           %univ-atts;
  116. >
  117.  
  118.   <!ELEMENT tbody        (%row;)+ >
  119.   <!ATTLIST tbody         valign      (top | middle | bottom) #IMPLIED
  120.                           outputclass CDATA #IMPLIED
  121.                           %univ-atts;
  122. >
  123.  
  124.   <!ELEMENT row          (%entry;)+ >
  125.   <!ATTLIST row           rowsep      %yesorno;              #IMPLIED
  126.                           valign      (top | bottom | middle) #IMPLIED 
  127.                           outputclass CDATA #IMPLIED
  128.                           %univ-atts;
  129. >
  130.  
  131.   <!ELEMENT entry        (%tblcell.cnt;)* >
  132.   <!ATTLIST entry         colnum      NMTOKEN                #IMPLIED
  133.                           colname     NMTOKEN                #IMPLIED
  134.                           namest      NMTOKEN                #IMPLIED
  135.                           nameend     NMTOKEN                #IMPLIED
  136.                           spanname    NMTOKEN                #IMPLIED
  137.                           morerows    NMTOKEN                #IMPLIED
  138.                           colsep      %yesorno;              #IMPLIED
  139.                           rowsep      %yesorno;              #IMPLIED
  140.                           valign      (top | bottom | middle) #IMPLIED
  141.                           align       (left | right |
  142.                                        center | justify )    #IMPLIED 
  143.                           outputclass CDATA #IMPLIED
  144. >
  145.  
  146. <!--specialization attributes-->
  147.  
  148. <!ATTLIST table class CDATA "- topic/table ">
  149. <!ATTLIST tgroup class CDATA "- topic/tgroup ">
  150. <!ATTLIST colspec class CDATA "- topic/colspec ">
  151. <!ATTLIST spanspec class CDATA "- topic/spanspec ">
  152. <!ATTLIST thead class CDATA "- topic/thead ">
  153. <!ATTLIST tfoot class CDATA "- topic/tfoot ">
  154. <!ATTLIST tbody class CDATA "- topic/tbody ">
  155. <!ATTLIST row class CDATA "- topic/row ">
  156. <!ATTLIST entry class CDATA "- topic/entry ">
  157.