You might have specialized attributes that you need to integrate
into IXIA CCMS Desktop. For example, you might need to color some of your
code samples and therefore you have specialized a color attribute
from the existing base attribute. In these steps, we assume you
have created the specialization in a file named companyAttDomain.ent (included as an appendix). These steps use the same CompanyDitabase.dtd file name as in the previous
instructions.
- Copy companyAttDomain.ent into the dtd subfolder of your DTD plugin.
- Check out and open CompanyDitabase.dtd.
-
Scroll to the DOMAIN ATTRIBUTE DECLARATIONS section.
-
Add an entity definition similar to the following to that section:
<!ENTITY % company-d-dec
PUBLIC "-//COMPANY//ENTITIES DITA Company Attribute Domain//EN"
"companyAttDomain.ent"
>%company-d-dec;
Where the public identifier matches the one you assigned in companyAttDomain.ent and the system identifier matches the file name. Note that because companyAttDomain.ent lives in the same folder as CompanyDitabase.dtd, the system identifier path is flat.
-
Scroll to the DOMAIN ATTRIBUTE EXTENSIONS section.
- Edit the
base-attribute-extensions
entity to include the entity (color-d-attribute
) that defines your new attribute in companyAttDomain.ent, similar to the following example:
<!ENTITY % base-attribute-extensions
"%localization-loc-d-attribute;
%color-d-attribute;" >
-
Locate the DOMAINS ATTRIBUTE OVERRIDE section.
- Add the
color-d-att
entity to the list of included domains.
<!ENTITY included-domains
"&concept-att;
&glossentry-att;
&glossgroup-att;
&reference-att;
...
&equation-d-att;
&localization-loc-d-att;
&xml-d-att;
&color-d-att;
"
>
- Save, close, and check in CompanyDitabase.dtd.
You do not need to make any changes to catalog.xml.
-
Restart the IXIA CCMS Desktop.
- To add the specialization to IXIA CCMS Output Generator, do the following:
- Copy the entire com.company.dtd plugin folder into the %OutputGenDir%/data/%OT_Dir%/plugins folder, overwriting the existing copy.
Depending on your CCMS Output Generator configuration, the DITA-OT path might vary.
- Run the integrator to integrate the plugin.
You can now include the color attribute in your content.