<nav class="toc" role="toc"><ul><li><a href="../../introduction/dita-release-overview.html">Introduction</a></li><li><a href="../../archSpec/base/dita-terminology.html">DITA terminology, notation, and conventions</a></li><li><a href="../../archSpec/base/introduction-to-dita.html">Overview of DITA</a></li><li><a href="../../archSpec/base/accessibility-and-translation.html">Accessibility and translation</a></li><li><a href="../../archSpec/base/dita-map-processing.html">DITA map processing</a></li><li><a href="../../archSpec/base/ditaaddressing.html">DITA addressing</a></li><li><a href="../../archSpec/base/behaviors.html">DITA processing</a></li><li><a href="../../archSpec/base/configuration-specialization-and-constraints.html">Configuration and specialization </a></li><li><a href="../../langRef/langRef-base.html">Element reference</a></li><li><a href="../../conformance/conformance.html">Conformance</a></li><li><a href="../../acknowledgments/acknowledgments.html">Acknowledgments</a></li><li><a href="../../non-normative/aggregated-RFC-2119-statements.html">Aggregated RFC-2119 statements</a></li><li><a href="../../archSpec/base/coding-requirements.html">Coding practices for DITA grammar files</a></li><li><a href="../../non-normative/developing-constraint-and-expansion-modules.html">Constraint modules</a></li><li><a href="../../non-normative/expansion-modules.html">Expansion modules</a><ul class="nav nav-list"><li class="active"><a href="../../archSpec/base/examples-expansion-implemented-using-dtds.html">Examples: Expansion implemented using DTDs</a><ul class="nav nav-list"><li><a href="../../archSpec/base/adding-an-element-to-the-section-element.html">Example: Adding an element to the section element using DTDs</a></li><li><a href="../../archSpec/base/adding-an-attribute-to-certain-table-elements.html">Example: Adding an attribute to certain table elements using DTDs</a></li><li><a href="../../archSpec/base/adding-an-existing-domain-attribute-to-certain-elements.html">Example: Adding an existing domain attribute to certain elements using DTDs</a></li><li><a href="../../archSpec/base/aggregating-constraint-and-expansion-modules.html">Example: Aggregating constraint and expansion modules using DTDs</a></li></ul></li><li><a href="../../archSpec/base/examples-expansion-implemented-using-rng.html">Examples: Expansion implemented using RNG</a></li></ul></li><li><a href="../../non-normative/elementsMerged.html">Element-by-element recommendations for translators</a></li><li><a href="../../non-normative/formatting-expectations.html">Formatting expectations</a></li><li><a href="../../non-normative/migrating-to-dita-2.0.html">Migrating to DITA 2.0</a></li><li><a href="../../non-normative/basedoctypes.html">OASIS grammar files</a></li><li><a href="../../non-normative/interoperability-considerations.html">Processing interoperability considerations</a></li><li><a href="../../non-normative/revision-history.html">Revision history</a></li></ul></nav><main role="main" class="non-normative"><article role="article" aria-labelledby="ariaid-title1"> <h1 class="title topictitle1" id="ariaid-title1">Examples: Expansion implemented using DTDs</h1> <p class="shortdesc">This section of the specification contains examples of extension modules that are implemented using DTDs.</p> <nav role="navigation" class="related-links"><ul class="ullinks"><li class="link ulchildlink"><strong><a href="../../archSpec/base/adding-an-element-to-the-section-element.html">Example: Adding an element to the section element using DTDs</a></strong><div class="desc">In this scenario, a DITA architect wants to modify the content model for the <code class="keyword markupname xmlelement">&lt;section&gt;</code> element. The DITA architect wants to add an optional <code class="keyword markupname xmlelement">&lt;sectionDesc&gt;</code> element that is specialized from <code class="keyword markupname xmlelement">&lt;p&gt;</code>.</div></li><li class="link ulchildlink"><strong><a href="../../archSpec/base/adding-an-attribute-to-certain-table-elements.html">Example: Adding an attribute to certain table elements using DTDs</a></strong><div class="desc">In this scenario, a company makes extensive use of complex tables to present product listings. They occasionally highlight individual cells, rows, or columns for various purposes. The DITA architect wants to implement a semantically meaningful way to identify the purpose of various table elements.</div></li><li class="link ulchildlink"><strong><a href="../../archSpec/base/adding-an-existing-domain-attribute-to-certain-elements.html">Example: Adding an existing domain attribute to certain elements using DTDs</a></strong><div class="desc">In this scenario, a company wants to use the <code class="keyword markupname xmlatt">@otherprops</code> attribute specialization. However, they want to make the attribute available <strong class="ph b">only</strong> on certain elements: <code class="keyword markupname xmlelement">&lt;p&gt;</code>, <code class="keyword markupname xmlelement">&lt;div&gt;</code>, and <code class="keyword markupname xmlelement">&lt;section&gt;</code>.</div></li><li class="link ulchildlink"><strong><a href="../../archSpec/base/aggregating-constraint-and-expansion-modules.html">Example: Aggregating constraint and expansion modules using DTDs</a></strong><div class="desc">The DITA architect wants to add some extension modules to the document-type shell for topic. The document-type shell already integrates a number of constraint modules.</div></li></ul><div class="familylinks"><div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../../non-normative/expansion-modules.html" title="This section of the specification contains examples of expansion modules implemented using both DTD and RNG.">Expansion modules</a></div></div><div class="linklist relconcepts"><strong>Related concepts</strong><br><ul class="linklist"><li class="linklist"><a class="link" href="../../archSpec/base/dtd-coding-requirements-for-element-configuration-modules.html" title="Element-configuration modules (constraint and expansion) have specific coding requirements.">DTD: Coding requirements for element-configuration modules</a></li></ul></div></nav><aside class="section-toc" role="aside"></aside></article></main>