home *** CD-ROM | disk | FTP | other *** search
/ Chip: 25 Years Anniversary / CHIP_25Jahre_Jubilaeum.iso / downloads / 401065 / WPO11 / Data1.cab / AAP_TBL.DTD < prev    next >
Text File  |  2003-03-07  |  8KB  |  162 lines

  1. <!--
  2.      File:  AAP_TBL.DTD        (DTD Declaration Subset)
  3.  
  4.      DISCLAIMER:  This declaration subset contains the AAP table
  5.      information that is considered relevant by the SGML features of
  6.      Corel WordPerfect 9.  It does not include all of the elements,
  7.      entities, and attributes found in the complete DTDs defined by the
  8.      Association of American Publishers (AAP) in Markup of Tabular Material,
  9.      part of the Electronic Manuscript Series designed for use with the
  10.      American National Standard for Electronic Manuscript Preparation and
  11.      Markup (ANSI/NISO Z39.59-1988).  It is intended primarily for your
  12.      information.
  13. -->
  14.  
  15.  
  16. <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
  17.  
  18. <!ENTITY % t.style "style (s|d|t|da|dot|b|bl|n) bl"
  19.           --styles for borders and sparators, default blank-->
  20. <!ENTITY % t.align "align (l|c|r|d|e|en) #IMPLIED"
  21.           --align attributes for columns, cells-->
  22. <!ENTITY % t.val "valign (t|m|b) #IMPLIED" --vertical alignment-->
  23. <!ENTITY % t.cs "#PCDATA"
  24.           --character strings-->
  25.  
  26. <!--       ELEMENT       MIN       CONTENT         EXCEPTIONS
  27.                       ATTRIBUTE     VALUE           DEFAULT-->
  28.  
  29. <!ELEMENT ctbl           - -    (cthd,ctby,ctbf) >
  30.  
  31. <!ATTLIST ctbl           id     ID                 #IMPLIED
  32.  
  33.                      numcols    NUMBER             #REQUIRED
  34.           -- Number of columns per row starting with 1 at the left cell.
  35.           This attribute is not part of the original AAP advanced tables
  36.           DTD fragment but was added to facilitate the tagging and
  37.           importing of AAP tables when using WP Intellitag. --
  38.  
  39.                          cs     NMTOKENS           "A bl"
  40.           --Valid NMTOKENS are single (s), double (d), triple (t), dash (da),
  41.           dot, bold (b), blank (bl), and none (n); they indicate separator
  42.           style. Specify up to F+1 style tokens, where F is the number of
  43.           columns, each preceded by a column number from 0 through F. 0
  44.           applies to separatorbefore 1st column, and 1 through F to separators
  45.           after corresponding columns; unspecified separators are blank.
  46.           Special column "numbers" F (for final) and A (for all others) can
  47.           be used.
  48.           Examples:
  49.               "O d F d" gives double rules as the vertical borders.
  50.               "1 b" gives bold rule after the first column.--
  51.  
  52.                          rs     NMTOKENS           "A bl"
  53.           --Value specified as for cs, but applies to row separators and the
  54.           horizontal borders.--
  55.  
  56.                          ca     NMTOKENS           "A c"
  57.           --Specify from 1 to F alignment tokens, where F is the number of
  58.           columns, to indicate alignment of cells within the corresponding
  59.           column. Alignments are: l(eft), c(enter), r(ight), e(xponent),
  60.           d(ecimal point), and en (en dash). Default is "c" alignment for any
  61.           unspecified column. Tokens are paired with column numbers as with cs.
  62.           Examples:
  63.               "1 l A r" gives left aligned 1st column, all others right.
  64.               "1 l" gives left aligned 1st column, all others center.-->
  65.  
  66. <!ELEMENT cthd           - O    (ctt|ctst|cthn|cthr)*>
  67. <!ELEMENT cthn           - O    (%t.cs;)*>
  68.  
  69. <!ELEMENT (ctt|ctst)     - O    (%t.cs;)*>
  70. <!ELEMENT cthr           - O    (cth*|ctsh)>
  71. <!ATTLIST cthr           ra     NMTOKENS           "A m"
  72.           --Specify from 1 to F vertical alignment tokens, where F is the
  73.           number of columns, to indicate alignment of cells within the
  74.           corresponding column. Alignments are: t(op), m(iddle), and b(ottom).
  75.           Default is "m" alignment for any unspecified cell. Tokens are paired
  76.           with column numbers as with cs.
  77.           Examples:
  78.               "1 t A b" gives top aligned 1st cell, all others bottom.
  79.               "1 t" gives top aligned 1st cell, all others middle.-->
  80.  
  81. <!ELEMENT (cth|ctsh)     - O    (%t.cs;)*
  82.           --Use cth if there is only one header over each column or for the
  83.           main column headers when there are column subheads. Use ctsh for
  84.           column subheads.-->
  85. <!ATTLIST (cth|ctsh)     %t.align;
  86.           --This will override the column alignment for the designated head--
  87.  
  88.                          %t.val;
  89.           --This will override the vertical alignment of a head or subhead
  90.           specified by ra at the header row level.--
  91.  
  92.                          cb     NUMBER             #IMPLIED
  93.           --Indicate the column in which the head will begin if it straddles
  94.           more than one column, (e.g. cb=4 indicates that the head should
  95.           begin in column 4).--
  96.  
  97.                          ce     NUMBER             #IMPLIED
  98.           --Indicate the column in which the head will end if it straddles
  99.           more than one column, (e.g. ce=6 indicates that the head should end
  100.           in column 6).--
  101.  
  102.                          rb     NUMBER             #IMPLIED
  103.           --Indicate the row in which the head will begin if it straddles more
  104.           than one row, (e.g. rb=2 indicates that the head will begin in row 2).--
  105.  
  106.                          re     NUMBER             #IMPLIED
  107.           --Indicate the row in which the head will end if it straddles more
  108.           than one row, (e.g. re=4 indicates that the head will end in row 4).-->
  109.  
  110. <!ELEMENT ctby           - O    (ctr)*
  111.           --Every table must have at least one row.-->
  112.  
  113. <!ELEMENT ctr            - O    (((ctsb1|ctsb2|ctsb3|ctsb4)?, cte*) | ctsh*)>
  114.  
  115. <!ATTLIST ctr            ra     NMTOKENS           "A m"
  116.           --Specify from 1 to F vertical alignment tokens, where F is the
  117.           number of columns, to indicate alignment of cells within the
  118.           corresponding column. Alignments are: t(op), m(iddle), and b(ottom).
  119.           Default is "m" alignment for any unspecified cell. Tokens are paired
  120.           with column numbers as with cs.
  121.           Examples:
  122.               "1 t A b" gives top aligned 1st cell, all others bottom.
  123.               "1 t" gives top aligned 1st cell, all others middle.-->
  124.  
  125. <!ELEMENT (ctsb1|ctsb2|ctsb3|ctsb4)
  126.                          - O    (%t.cs;)*>
  127. <!ATTLIST (ctsb1|ctsb2|ctsb3|ctsb4)
  128.                          %t.align;
  129.           --This overrides the column alignment--
  130.  
  131.                          %t.val;
  132.           --This will override the vertical alignment of a stub specified by
  133.           ra at the table row level.-->
  134.  
  135. <!ELEMENT cte            - O    (%t.cs;)*>
  136. <!ATTLIST cte            %t.align;
  137.           --This overrides the column alignment, not valid if cell is split--
  138.  
  139.                          %t.val;
  140.           --This will override the vertical alignment of a cell specified by
  141.           ra at the table row level.--
  142.  
  143.                          cb     NUMBER             #IMPLIED
  144.           --Designate the column numbere where entry is to begin if it
  145.           straddles more than one column--
  146.  
  147.                          ce     NUMBER             #IMPLIED
  148.           --Designate the column number where entry is to end if it straddles
  149.           more than one column--
  150.  
  151.                          rb     NUMBER             #IMPLIED
  152.           --Designate the row number where entry is to begin if it straddles
  153.           more than one row--
  154.  
  155.                          re     NUMBER             #IMPLIED
  156.           --Designate the row number where entry is to end if it straddles
  157.           more than one row-->
  158.  
  159. <!ELEMENT ctbf           - O    (ctc|ctfn)>
  160. <!ELEMENT ctc            - O    (%t.cs;)*>
  161. <!ELEMENT ctfn           - O    (%t.cs;)*>
  162.