<?xml version=“1.0” encoding=“UTF-8”?> <!– ============================================================= –> <!– MODULE: MathML DTD SETUP MODULE –> <!– VERSION: NISO 0.4 –> <!– DATE: January 2011 –> <!—-> <!– ============================================================= –> <!– ============================================================= –> <!– PUBLIC DOCUMENT TYPE DEFINITION –> <!– TYPICAL INVOCATION –> <!–

"-//NLM//DTD JATS (Z39.96) Archiving and Interchange DTD Suite MathML Setup Module v0.4 20110131//EN"
     Delivered as file "JATS-mathmlsetup0.ent"

–> <!– ============================================================= –> <!– ============================================================= –> <!– SYSTEM: Archiving and Interchange DTD Suite –> <!—-> <!– PURPOSE: Provides the organization for using the –> <!– MathML DTD –> <!—-> <!– CONTAINS: 1) Overrides to standard parameter entities used –> <!– in the MathML 2.0 DTD –> <!– 2) Call to MathML 2.0 DTD –> <!—-> <!– MODULES REQUIRED: –> <!– 1) mathml2.dtd MathML 2.0 DTD –> <!—-> <!– 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 NISO Z39.96 Journal Article Tag Suite –> <!– (JATS).” –> <!—-> <!– 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 NISO Z39.96 Journal Article Tag –> <!– Suite.” –> <!—-> <!– Suggestions for refinements and enhancements to –> <!– the DTD suite should be sent in email to: –> <!– jats@ncbi.nlm.nih.gov –> <!—-> <!– ORIGINAL CREATION DATE: –> <!– December 2002 –> <!—-> <!– CREATED BY: Jeff Beck (NCBI) –> <!– Deborah Lapeyre (Mulberry Technologies, Inc.) –> <!– Bruce Rosenblum (Inera Inc.) –> <!– B. Tommie Usdin (Mulberry Technologies, 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 NLM 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 0.4                       (DAL/BTU) v0.4 (2011-01-31)
     This Tag Set is in the process of becoming a NISO standard.
     The version numbers are starting over from 0.4", as a Trial
     Use Draft, to be made into "Version 1.0" when the Tag Suite 
     becomes a NISO standard. Thus, NLM "Version 3.1 Draft" has 
     been changed to NISO "Version 0.4". No model, attribute, or
     parameter entity changes were made as part of this renaming.
     Details on NISO Tial Use Draft Version 0.4 are available at
           http://jats.nlm.nih.gov/JATS-0.4.
  3. Updated the public identifier to "v0.4 20110131//EN", 
     modified the formal public identifier to include "JATS (Z39.96)",
     and the filename as delivered to include "JATS" and the
     new version number "0".
     =============================================================
     Version 3.1                       (DAL/BTU) v3.1 (2010-04-30)
     Version 3.1 is fully compatible with Version 3.0.
     Details on version 3.1 are available at
           http://jats.nlm.nih.gov/3.1.
  2. Updated public identifier to "v3.1 20100830//EN"
     =============================================================
     Version 3.0                       (DAL/BTU) v3.0 (2007-10-31)
     Version 3.0 is the first non-backward-compatible release.
     In addition to the usual incremental changes, some
     elements and attributes have been renamed and/or remodeled
     to better meet user needs and to increase tag set consistency.
     All module change histories are available through the Tag Suite
     web site at http://dtd.nlm.nih.gov.
     Details on version 3.0 are available at
           http://jats.nlm.nih.gov/3.0.
  1. Updated public identifier to "v3.0 20080202//EN"

–> <!– ============================================================= –> <!– SET UP FOR THE MathML MODULE –> <!– ============================================================= –> <!– MathML DTD –> <!–

The official version of the MathML 2.0 can
            be found at: http://www.w3.org/TR/MathML2/
            See also Mathematical Markup Language
            (MathML) Version 2.0
            A. Parsing MathML
            A.6 The MathML DTD
http://www.w3.org/TR/MathML2/appendixa.html#parsing-dtd
            A zip file with entity declarations is
            available from
http://www.w3.org/TR/MathML2/DTD-MathML-20010221.zip

–> <!– ============================================================= –> <!– SET UP W3C XML SCHEMA –> <!– ============================================================= –> <!– MAKE PREFIX EQUAL “xsi” (same as MathML) –> <!–

SET UP NAMESPACE FOR SCHEMA
(same as MathML)

–> <!– OVER-RIDE MATHML DTD TO MAKE EXPLICIT NS –> <!–

MathML sets this up but then lets the
attribute be a CDATA one, not the real
namespace URI

–> <grammar xmlns=“relaxng.org/ns/structure/1.0”>

<define name="Schema.xmlns.attrib">
  <empty/>
</define>
<!-- ============================================================= -->
<!-- SET UP "mml" AS THE MATH PREFIX -->
<!-- ============================================================= -->
<!-- MAKE MATH PREFIX PARAMETER ENTITY HAPPEN -->
<!-- MAKE PREFIX EQUAL "mml" -->
<!-- SET UP "pfx" -->
<!-- USE "pfx" TO SET THE MATH ELEMENT NAME -->
<!-- ============================================================= -->
<!-- CALL THE MATHML ENTITIES -->
<!-- ============================================================= -->
<!-- MATHML CHARACTER ENTITIES -->
<!--
  Set the "INCLUDE" or "IGNORE" marked section
  switch for the MATHML 2.0 DTD. This switch
  determines whether the math processing in
  the -%mathml.dtd; module or the
  -%xmlspecchars.ent; module in this DTD Suite
  will invoke the sets of special characters
  that are defined AND INVOKED in the
  -%xmlspecchars.ent; module.
  A value of "IGNORE" turns off the second
  invocation from the MathML DTD.
-->
<!-- MATHML-SPECIFIC CHARACTER ENTITIES -->
<!--
  Because the MATHML invocation is canceled
  using the parameter entity just defined,
  the two external entities below must be
  invoked from here, as neither XMLspecchars
  nor the MathML DTD will invoke them.
-->
<!-- New characters defined by MathML -->
<!--                     MathML aliases for characters defined above -->
<!-- ============================================================= -->
<!-- RESTRICT CONTENT OF ANNOTATION -->
<!-- ============================================================= -->
<!-- MATHML ANNOTATION MODEL -->
<!--
  The MathML DTD establishes the content of the
  <mml:annotation> element as ANY. This is
  unnecessarily broad, causing inconvenience for
  conversion. The model has been restricted to
  one or more paragraphs.
-->
<define name="Annotation-xml.content">
  <oneOrMore>
    <ref name="p"/>
  </oneOrMore>
</define>
<!-- ============================================================= -->
<!-- MathML 2.0 INVOCATION -->
<!-- ============================================================= -->
<include href="mathml2.rng"/>

</grammar> <!– ================== End MATHML Setup Module ================== –>