| # ============================================================= |
| |
| # HEADER |
| |
| # ============================================================= |
| |
| # MODULE: DITA BASE DTD |
| |
| # VERSION: 1.1 |
| |
| # DATE: June 2006 |
| |
| # |
| |
| # ============================================================= |
| |
| # ============================================================= |
| |
| # PUBLIC DOCUMENT TYPE DEFINITION |
| |
| # TYPICAL INVOCATION |
| |
| # |
| |
| # Refer to this file by the following public identifier or an |
| # appropriate system identifier |
| # PUBLIC "-//OASIS//DTD DITA Composite//EN" |
| # Delivered as file "ditabase.dtd" |
| |
| # ============================================================= |
| |
| # SYSTEM: Darwin Information Typing Architecture (DITA) |
| |
| # |
| |
| # PURPOSE: Base DTD holds all the information types |
| |
| # |
| |
| # ORIGINAL CREATION DATE: |
| |
| # March 2001 |
| |
| # |
| |
| # (C) Copyright OASIS Open 2005, 2006. |
| |
| # (C) Copyright IBM Corporation 2001, 2004. |
| |
| # All Rights Reserved. |
| |
| # |
| |
| # UPDATES: |
| |
| # 2005.11.15 RDA: Updated these comments to match template |
| |
| # 2006.06.07 RDA: Added indexing domain |
| |
| # 2006.06.21 RDA: Added props attribute extensions |
| |
| # ============================================================= |
| |
| # ============================================================= |
| |
| # DOMAIN ENTITY DECLARATIONS |
| |
| # ============================================================= |
| |
| include "uiDomain.ent.rnc" |
| include "highlightDomain.ent.rnc" |
| include "programmingDomain.ent.rnc" |
| include "softwareDomain.ent.rnc" |
| include "utilitiesDomain.ent.rnc" |
| include "indexingDomain.ent.rnc" |
| # ============================================================= |
| |
| # DOMAIN ATTRIBUTE DECLARATIONS |
| |
| # ============================================================= |
| |
| # ============================================================= |
| |
| # DOMAIN EXTENSIONS |
| |
| # ============================================================= |
| |
| # One for each extended base element, with |
| # the name of the domain(s) in which the |
| # extension was declared |
| pre = pre.element | pr-d-pre | sw-d-pre | ui-d-pre |
| keyword = keyword.element | pr-d-keyword | sw-d-keyword | ui-d-keyword |
| ph = ph.element | pr-d-ph | sw-d-ph | hi-d-ph | ui-d-ph |
| fig = fig.element | pr-d-fig | ut-d-fig |
| dl = dl.element | pr-d-dl |
| index-base = index-base.element | indexing-d-index-base |
| # ============================================================= |
| |
| # DOMAIN ATTRIBUTE EXTENSIONS |
| |
| # ============================================================= |
| props-attribute-extensions = empty |
| base-attribute-extensions = empty |
| # ============================================================= |
| |
| # TOPIC NESTING OVERRIDE |
| |
| # ============================================================= |
| |
| # Redefine the infotype entity to exclude |
| # other topic types and disallow nesting |
| glossentry-info-types = no-topic-nesting.element |
| info-types = |
| topic.element |
| | concept.element |
| | task.element |
| | reference.element |
| | glossentry.element |
| # ============================================================= |
| |
| # LOCALLY DEFINED CONTAINMENT |
| |
| # ============================================================= |
| |
| # Define a containment for topics for editor |
| # support |
| dita.element = element dita { dita.attlist, info-types+ } |
| # ============================================================= |
| |
| # DOMAINS ATTRIBUTE OVERRIDE |
| |
| # ============================================================= |
| |
| # Must be declared ahead of the DTDs, which |
| # puts @domains first in order |
| |
| # ============================================================= |
| |
| # TOPIC ELEMENT INTEGRATION |
| |
| # ============================================================= |
| |
| # Embed topic to get generic elements |
| include "topic.mod.rnc" |
| # Embed concept to get specific elements |
| include "concept.mod.rnc" |
| # Embed task to get specific elements |
| include "task.mod.rnc" |
| # Embed reference to get specific elements |
| include "reference.mod.rnc" |
| # Embed glossary to get specific elements |
| include "glossary.mod.rnc" |
| # ============================================================= |
| |
| # DOMAIN ELEMENT INTEGRATION |
| |
| # ============================================================= |
| include "uiDomain.mod.rnc" |
| include "highlightDomain.mod.rnc" |
| include "programmingDomain.mod.rnc" |
| include "softwareDomain.mod.rnc" |
| include "utilitiesDomain.mod.rnc" |
| include "indexingDomain.mod.rnc" |
| # ============================================================= |
| |
| # SPECIALIZATION ATTRIBUTES |
| |
| # ============================================================= |
| dita.attlist &= global-atts |
| start = dita.element |
| any = |
| (element * { |
| attribute * { text }*, |
| any |
| } |
| | text)* |
| # ================== End DITA Base DTD ======================= |