Document Types > DITA .dcf Settings > Specifying the DITA Specialization Attribute
Specifying the DITA Specialization Attribute
To define the DITA specialization attribute for a DITA document type, you must define the attribute in the document type's .dcf file. The specialization attribute will be used for stylesheet processing using DITA specialization fallback rules for style. Note that if the specialization attribute is not set for a DITA document type, Arbortext Editor provides a default value of class.
To specify the DITA specialization attribute:
1. Open Arbortext Architect.
2. Choose File > Open.
3. Locate the directory in which the document type is saved, and click Select.
4. Once the document type is loaded, choose Edit > DCF. If the document type has a .dcf file, it displays in the Arbortext ArchitectDCF Editor window. If there is no .dcf file associated with this document type, Arbortext Architect automatically creates one.
5. Locate the Options element in the DCF Editor. If the file doesn't include an Options element, add one.
Open the Document Type Viewer (Tools > Document Type Viewer) to view the element hierarchy for the .dcf file. This will help you determine the valid location for the Options element.
6. Inside of the Options element, locate the DitaOptions element. If the file doesn't include a DitaOptions element, add one.
7. Place your cursor to the right of the DitaOptions element, and choose Edit > Modify Attributes or click on the Modify Attributes toolbar button to open the Modify Attributes dialog box.
You must have the Force Required Attributes EntryEdit preference selected for this dialog box to open automatically.
8. In the specializationAttribute field, enter the name of the specialization attribute used in your document type.
9. Click OK.
10. Choose File > Save to save the changes you have made to the .dcf file.