Document Types > Copy and Paste .dcf Settings > Specifying Primary Division Elements
Specifying Primary Division Elements
To ensure that content copied and pasted from other applications to Arbortext Editor is converted to XML correctly, you must configure a document type’s document type configuration file (.dcf) to specify the role for certain elements in the document type. One of the roles you must specify is whether an element is a primary division in the document type. A primary division is one of the major levels of hierarchy in the document type.
For example, for the Arbortext XML DocBook document type, the following elements are configured as primary division elements:
To specify primary division elements:
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 ElementOptions element in the DCF Editor. If the file doesn't include a ElementOptions 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 ElementOptions element.
6. Place your cursor next to the ElementOptions element, and choose Insert > Markup, and select ElementOption.
7. Click next to the ElementOption element 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 element field, select the element that you want to configure.
9. Choose yes in the primary field to identify this element as a primary division for copy and paste conversion. The default setting is no.
10. Click OK.
11. Choose File > Save to save the changes you have made to the .dcf file.
12. Repeat the previous steps to configure additional elements that you want to specify as primary divisions.