OASIS Table Setup


<!-- ============================================================= -->
<!--  MODULE:    OASIS XML TABLE SETUP MODULE                      -->
<!--  VERSION:   1.1                                               -->
<!--  DATE:      February 2007                                     -->
<!--                                                               -->
<!-- ============================================================= -->

<!-- ============================================================= -->
<!--                    PUBLIC DOCUMENT TYPE DEFINITION            -->
<!--                        TYPICAL INVOCATION                     -->
<!--
"-//NLM//DTD Archiving and Interchange DTD Suite OASIS XML Table Setup Module v1.2 20040830//EN"
     Delivered as file "oasis-tablesetup.ent"                      -->
<!-- ============================================================= -->

<!-- ============================================================= -->
<!-- SYSTEM:     Archiving and Interchange DTD Suite               -->
<!--                                                               -->
<!-- PURPOSE:    Provides the organization for using the           -->
<!--             OASIS Open exchange CALS table model (XML         -->
<!--             version)                                          -->
<!--                                                               -->
<!-- CONTAINS:   1) Overrides to standard parameter entities used  -->
<!--                in the OASIS-Open exchange CALS table model    -->
<!--             2) Call to OASIS-Open table exchange model (XML)  -->
<!--                (XML version)                                  -->
<!--                                                               -->
<!-- MODULES REQUIRED:                                             -->
<!--             1) %exchange.ent;      OASIS exchange table model -->
<!--                                      (XML version)            -->
<!--                                                               -->
<!-- CREATED FOR:                                                  -->
<!--             Digital archives and publishers who wish to       -->
<!--             create a custom XML DTD for original markup of    -->
<!--             journal literature, books, and related material,  -->
<!--             or for archiving and transferring such material   -->
<!--             between archives.                                 -->
<!--                                                               -->
<!--             This DTD is in the public domain. An organization -->
<!--             that wishes to create its own DTD from the suite  -->
<!--             may do so without permission from NLM.            -->
<!--                                                               -->
<!--             The suite has been set up to be extended using a  -->
<!--             new DTD file and a new DTD-specific customization -->
<!--             module to redefine the many Parameter Entities.   -->
<!--             Do not modify the suite directly or redistribute  -->
<!--             modified versions of the suite.                   -->
<!--                                                               -->
<!--             In the interest of maintaining consistency and    -->
<!--             clarity for potential users, NLM requests:        -->
<!--                                                               -->
<!--             1. If you create a DTD from the Archiving and     -->
<!--                Interchange DTD Suite and intend to stay       -->
<!--                compatible with the suite, then please include -->
<!--                the following statement as a comment in all of -->
<!--                your DTD modules:                              -->
<!--                   "Created from, and fully compatible with,   -->
<!--                    the Archiving and Interchange DTD Suite."  -->
<!--                                                               -->
<!--             2. If you alter one or more modules of the suite, -->
<!--                then please rename your version and all its    -->
<!--                modules to avoid any confusion with the        -->
<!--                original suite. Also, please include the       -->
<!--                following statement as a comment in all your   -->
<!--                DTD modules:                                   -->
<!--                   "Based in part on, but not fully compatible -->
<!--                    with, the Archiving and Interchange DTD    --> 
<!--                    Suite."                                    -->
<!--                                                               -->
<!--             Suggestions for refinements and enhancements to   -->
<!--             the DTD suite should be sent in email to:         -->
<!--                 archive-dtd@ncbi.nlm.nih.gov                  -->
<!--                                                               -->
<!-- ORIGINAL CREATION DATE:                                       -->
<!--             December 2002                                     -->
<!--                                                               -->
<!-- CREATED BY: Jeff Beck       (NCBI)                            -->
<!--             Deborah Lapeyre (Mulberry Technologies, Inc.)     -->
<!--             Bruce Rosenblum (Inera Inc.)                      -->
<!--                                                               -->
<!--             NLM thanks the Harvard University Libraries, both -->
<!--             for proposing that a draft archiving NLM DTD for  --> 
<!--             life sciences journals be extended to accommodate -->
<!--             journals in all disciplines and for sponsoring    -->
<!--             Bruce Rosenblum's collaboration with other DTD    -->
<!--             authors in completing Version 1.0. The Andrew W.  --> 
<!--             Mellon Foundation provided support for these      --> 
<!--             important contributions.                          -->
<!--                                                               -->
<!-- ============================================================= -->


<!-- ============================================================= -->
<!--                    DTD VERSION/CHANGE HISTORY                 -->
<!-- ============================================================= -->
<!--
     =============================================================

Version  Reason/Occasion                   (who) vx.x (yyyy-mm-dd)

     =============================================================
     Version 1.2                           (dal) v1.2 (2004-08-30)

  5. Deleted duplicate declaration of %oasis-exchange.ent; That
     module should be called here but declared in the Module
     of Modules (%modules.ent;)
  
  4. Updated public identifier to "v1.2 20040830"

     =============================================================
     Version 1.1                           (TRG) v1.1 (2003-11-01)

  3. Added attribute "alternate-form-of" to <table> (by modifying 
     parameter entity %tbl.table.att;)
     Rationale: Where multiple formats of an item (e.g., graphic 
     file, media object, chemical structure) are available, this 
     attribute indicates that a format is a secondary one and 
     provides a link to the primary format, so that only one 
     format of an item is displayed.
     
  2. Added attribute "id" information to <table> (by modifying 
     parameter entity  %tbl.table.att;)  
     Rationale: To allow a <table> to be linked to, especially by 
     alternate forms of the same table such as graphical versions
     (which will use the alternate-form-of attribute to link to 
     the primary).
     
  1. Added attribute "content-type" to <table> (by modifying
     parameter entity %tbl.table.att;)
     Rationale: To identify and preserve the semantic intent of 
     semantically rich source documents.
                                                                   -->


<!-- ============================================================= -->
<!--                    PARAMETER ENTITY DEPENDENCIES               
                        Requires the following parameter entities
                        be defined before calling this module, 
                        usually accomplished in the Customization
                        Module for the specific DTD:
                        - %inside-cell;  
                        - %oasis-xmlns;                            -->
<!-- ============================================================= -->
                         
                         
<!-- ============================================================= -->
<!--                    SET UP FOR THE PUBLIC TABLE MODULE         -->
<!-- ============================================================= -->


<!--                    OVER-RIDES FOR STANDARD PARAMETER ENTITIES -->
<!--                    In order to use the OASIS-OPEN (CALS)
                        Exchange table model, various Parameter 
                        ENTITY declarations are required.  Brief 
                        descriptions of the Parameter Entities in 
                        the exchange table model that this module 
                        will over-ride are given below: 
                        (adapted from the Exchange module itself)

     ENTITY NAME        WHERE USED       WHAT IT IS

     %yesorno           In ATTLIST of:   An attribute declared 
                        almost all       value for a "boolean" 
                        table elements   attribute

     %titles            In content of:    The "title" part of the 
                        table element     table model has been set 
                                          to the empty string,  
                                          since the title is in the 
                                          Table Wrapper element 

     %tbl.table-titles.mdl 
                        In content of:    The model group for the 
                        table elements    "title" part of the  
                                          content model for table 
                                          element

     %paracon           In content of:    The "text" (logical 
                        <entry>           content) of the model for 
                                          <entry>

     %tbl.table.att     In ATTLIST of:    Additional attributes on 
                        table element     the table element 
                        
     %tbl.entry.att     In ATTLIST of:    Additional attributes on 
                        <entry>           the <entry> element      -->
                         
                         
<!-- ============================================================= -->
<!--                    PARAMETER ENTITIES FOR ELEMENT NAMES       -->
<!-- ============================================================= -->


<!--                    TABLE ELEMENT NAME                         -->
<!ENTITY % tbl.table.name
                        "oasis:table"                                >
                         
                         
<!-- ============================================================= -->
<!--                    PARAMETER ENTITY FOR ATTRIBUTES            -->
<!-- ============================================================= -->

                                                                
<!--                    DEFAULT NAMESPACE-OASIS TABLE EXCHANGE     -->
<!--                    The default namespace to be used when
                        calling in the OASIS Open Exchange (CALS)
                        Table Model                                -->
<!ENTITY % oasis.xmlns.attrib
             "xmlns:oasis
                        CDATA      #FIXED
              '-//OASIS//DTD XML Exchange Table Model 19990315//EN'" > 


<!--                    YES OR NO                                  -->
<!--                    The boolean value, "0" to indicate "no", 
                        any other number, usually "1", to indicate
                        "yes"                                      -->
<!ENTITY % yesorno      "NMTOKEN"                                    > 


<!--                    TABLE ATTRIBUTES                           -->
<!--                    Additional attributes on the table element
             alternate-form-of
                        Where multiple formats of an item (e.g., 
                        graphic file, media object, chemical 
                        structure) are available, this attribute 
                        indicates that a format is a secondary 
                        one and provides a link to the primary 
                        format, so that only one format of an
                        item is displayed.
             content-type   
                        Identification of the subject, type of
                        content, or reason that this word or phrase
                        is considered semantically special, as a 
                        means of preserving the semantic intent of 
                        the original tagging.       
             id         Unique identifier so that the table can 
                        be referenced                              -->
<!ENTITY % tbl.table.att
             "%oasis.xmlns.attrib;
              alternate-form-of
                        IDREF                             #IMPLIED
              content-type
                        CDATA                             #IMPLIED
              id        ID                                #IMPLIED"  >


<!--                    TABLE ENTRY ATTRIBUTES                     -->
<!--                    Additional attributes on the table entry
                        element, that is, attributes for a table
                        cell                                       -->
<!ENTITY % tbl.entry.att
            ""                                                       > 
                         
                         
<!-- ============================================================= -->
<!--                    PARAMETER ENTITIES FOR CONTENT MODELS      -->
<!-- ============================================================= -->


<!--                    TITLE OF THE TABLE                         -->
<!--                    The "title" part of the table element has 
                        been set to the empty string, since the
                        title is contained within the Table
                        Wrapper element                            -->
<!ENTITY % titles       ""                                           > 
<!ENTITY % tbl.table-titles.mdl 
                        ""                                           >


<!--                    CONTENTS OF AN ENTRY (TABLE CELL)          -->
<!--                    Names all the elements that may occur 
                        inside a table cell (<entry>)              -->
<!ENTITY % paracon      "#PCDATA | %inside-cell;"                    >


<!--                    CONTENTS OF TABLE                          -->
<!--                    Names all the elements that may occur 
                        inside a table (<table>)                   -->
<!ENTITY % tbl.table-main.mdl   
                        "oasis:tgroup+"                              >


<!--                    CONTENTS OF TABLE GROUP (ORIGINAL OASIS)   -->
<!--                    Names all the elements that may occur 
                        inside a Table Group (<tgroup>)            -->
<!ENTITY % tbl.tgroup.mdl       
                        "oasis:colspec*, oasis:thead?, oasis:tbody"  >


<!--                    CONTENTS OF TABLE ROW                      -->
<!--                    Names all the elements that may occur 
                        inside a Table Row (<row>)                 -->
<!ENTITY % tbl.row.mdl  "oasis:entry+"                               >


<!-- ============================================================= -->
<!--                    THE OASIS CALS TABLE INVOCATION            -->
<!-- ============================================================= -->


<!--                    OASIS XML TABLE MODEL                      -->
<!--                    ENTITY % oasis-exchange.ent PUBLIC
"-//OASIS//DTD MD copy XML Exchange Table Model 19990315//EN"      -->
%oasis-exchange.ent;  


<!-- ================== End OASIS Table Setup Module ============= -->