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

  1. <!-- ==================================================================
  2.      File:  CALS_XML.DTD        (DTD Declaration Subset)
  3.  
  4.      DISCLAIMER:  This declaration subset contains the CALS table
  5.      information that is considered relevant by the SGML features of
  6.      Corel WordPerfect 9.  This file is NOT a complete DTD, and cannot
  7.      be compiled into an XML template file without modification.
  8.      
  9.      Although this file can be included in an arbitrary DTD to add some
  10.      level of CALS table support, it does not include all of the
  11.      elements, entities, and attributes found in the complete DTDs in
  12.      MIL-M-28001.  It is intended primarily for your information, and
  13.      is NOT for use in CALS-compliant environments.
  14.  
  15.      Sample invocation:
  16.  
  17.      <!ENTITY WP-CALS PUBLIC "-//COREL//DTD WordPerfect XML
  18.                                         CALS table support//EN">
  19.      %WP-CALS;
  20.      ==================================================================
  21. -->
  22.  
  23. <!-- ==================================================================
  24.      Many attributes have a Boolean value. They are uniformly given
  25.      the declared value "%yesorno;" rather than NUMBER to indicate this
  26.      intent. 0 is interpreted as false; all other numbers as true.
  27.      ==================================================================
  28. -->
  29.  
  30.   <!ENTITY % yesorno   "NMTOKEN" >
  31.  
  32.   <!ELEMENT table      (title?, tgroup) >
  33.   <!ATTLIST table      frame          (top | bottom |
  34.                                        topbot | all |
  35.                                        sides | none)         #IMPLIED
  36.                        colsep         %yesorno;              #IMPLIED
  37.                        rowsep         %yesorno;              #IMPLIED >
  38.  
  39.   <!ELEMENT title      (#PCDATA) >
  40.  
  41.   <!ELEMENT tgroup     (colspec*, spanspec*, thead?, tfoot?, tbody) >
  42.   <!ATTLIST tgroup     cols           NMTOKEN                #REQUIRED
  43.                        colsep         %yesorno;              #IMPLIED
  44.                        rowsep         %yesorno;              #IMPLIED
  45.                        align          (left | right |
  46.                                        center | justify |
  47.                                        char)                 "left" >
  48.  
  49.   <!ELEMENT colspec    EMPTY >
  50.   <!ATTLIST colspec    colnum         NMTOKEN                #IMPLIED
  51.                        colname        NMTOKEN                #IMPLIED
  52.                        align          (left | right |
  53.                                        center | justify |
  54.                                        char)                 #IMPLIED
  55.                        colwidth       CDATA                  #IMPLIED
  56.                        colsep         %yesorno;              #IMPLIED
  57.                        rowsep         %yesorno;              #IMPLIED >
  58.  
  59.   <!ELEMENT spanspec   EMPTY >
  60.   <!ATTLIST spanspec   namest         NMTOKEN                #REQUIRED
  61.                        nameend        NMTOKEN                #REQUIRED
  62.                        spanname       NMTOKEN                #REQUIRED
  63.                        align          (left | right |
  64.                                        center | justify
  65.                                        | char )              "center"
  66.                        colsep         %yesorno;              #IMPLIED
  67.                        rowsep         %yesorno;              #IMPLIED   >
  68.  
  69.   <!ELEMENT thead      (colspec*, row+) >
  70.   <!ATTLIST thead      valign         (top | middle |
  71.                                        bottom)               "bottom" >
  72.  
  73.   <!ELEMENT tfoot      (colspec*, row+) >
  74.   <!ATTLIST tfoot      valign         (top | middle |
  75.                                        bottom)               "top" >
  76.  
  77.   <!ELEMENT tbody      (row+) >
  78.   <!ATTLIST tbody      valign         (top | middle |
  79.                                        bottom)               "top" >
  80.  
  81.   <!ELEMENT row        (entry+) >
  82.   <!ATTLIST row        rowsep         %yesorno;              #IMPLIED
  83.                        valign         (top | bottom |
  84.                                        middle)               #IMPLIED >
  85.  
  86.   <!ELEMENT entry      (#PCDATA ) >
  87.   <!ATTLIST entry      colname        NMTOKEN                #IMPLIED
  88.                        namest         NMTOKEN                #IMPLIED
  89.                        nameend        NMTOKEN                #IMPLIED
  90.                        spanname       NMTOKEN                #IMPLIED
  91.                        morerows       NMTOKEN                "0"
  92.                        colsep         %yesorno;              #IMPLIED
  93.                        rowsep         %yesorno;              #IMPLIED
  94.                        valign         (top | bottom |
  95.                                        middle)               "top"
  96.                        align          (left | right |
  97.                                        center | justify |
  98.                                        char)                 #IMPLIED >
  99.