Example: Replace a base element with the domain extensions using RNG
This section is non-normative.
In this scenario, the DITA architect wants
to remove the <ph>
element but allow the
extensions of <ph>
that exist in the highlight,
programming, software, and user interface domains.
Example
This section is non-normative.
-
They open the document-type shell for topic in an XML editor, and then they modify the "MODULE INCLUSIONS" division to exclude
<ph>
:<div> <a:documentation>MODULE INCLUSIONS</a:documentation> <include href="urn:pubid:oasis:names:tc:dita:rng:topicMod.rng:2.0"> <define name="ph.element"> <notAllowed/> </define> </include> ... </div>
- They make similar changes to all the other
document-type shells in which they want
<ph>
to not be available