In this scenario, an information architect wants to use only a subset of the elements
defined in the highlighting domain. She wants to use <b> and
<i,> but not <line-through>,
<overline>, <sup>, <sup>,
<tt>, or <u>. She wants to integrate this
constraint into the document-type shell for task.
<!-- ============================================================= --> <!-- CONSTRAINED HIGHLIGHTING DOMAIN ENTITIES --> <!-- ============================================================= --> <!ENTITY HighlightingDomain-constraints "(topic hi-d basic-HighlightingDomain-c)" > <!ENTITY % HighlightingDomain-c-ph "b | i" >
<!-- ============================================================= --> <!-- DOMAIN CONSTRAINT INTEGRATION --> <!-- ============================================================= --> <!ENTITY % HighlightingDomain-c-dec PUBLIC "-//ACME//ENTITIES DITA Highlighting Domain Constraint//EN" "acme-HighlightingDomainConstraint.mod" >%basic-HighlightingDomain-c-dec;
<!ENTITY % ph "ph |
%HighlightingDomain-c-ph; |
%sw-d-ph; |
%ui-d-ph;
">
@domains attribute for
<task>:<!-- ============================================================= -->
<!-- DOMAINS ATTRIBUTE OVERRIDE -->
<!-- ============================================================= -->
<!ENTITY included-domains
"&task-att;
&hi-d-att;
&indexing-d-att;
&pr-d-att;
&sw-d-att;
&ui-d-att;
&taskbody-constraints;
&HighlightingDomain-constraints;
"
>
Return to main page.
dita-v1.3-os-part3-all-inclusive Standards Track Work Product | Copyright © OASIS Open 2015. All Rights Reserved. | 17 December 2015 |