In this scenario, an information architect wants to remove the
<ph>
element but allow the extensions of <ph>
that exist in the highlighting, programming, software, and user interface domains.
<!-- ============================================================= -->
<!-- CONSTRAINED HIGHLIGHTING DOMAIN ENTITIES -->
<!-- ============================================================= -->
<!ENTITY ph-constraints
"(topic noPh-ph-c)"
>
<ph>
element, this entity must be defined so that there is a
separate parenthetical expression that can be included in the @domains
attribute for the topic.<!-- ============================================================= -->
<!-- CONTENT CONSTRAINT INTEGRATION -->
<!-- ============================================================= -->
<!ENTITY % noPh-ph-c-def
PUBLIC "-//ACME//ELEMENTS DITA Ph Constraint//EN"
"acme-PhConstraint-constraints" "noPhConstraint.ent">
%noPh-ph-c-def;
<ph>
element:<!-- Removed "ph | " so as to make <ph> not available, only the domain extensions. -->
<!ENTITY % ph "%pr-d-ph; |
%sw-d-ph; |
%ui-d-ph;
">
@domains
attribute:<!-- ============================================================= -->
<!-- DOMAINS ATTRIBUTE OVERRIDE -->
<!-- ============================================================= -->
<!ENTITY included-domains
"&concept-att;
&hi-d-att;
&indexing-d-att;
&pr-d-att;
&sw-d-att;
&ui-d-att;
&ph-constraint;
"
>