Administration > Stylesheets > Specifying an Alternative Stylesheets Directory for a Document Type
Specifying an Alternative Stylesheets Directory for a Document Type
You may replace the default stylesheets directory for a document type with an alternative path, by setting the stylesheetDirectory attribute on the Options element in the .dcf file for the document type.
Use the following steps to specify an alternative stylesheets directory.
1. Open Arbortext Architect, and choose File > Open.
2. Locate the directory in which the document type whose .dcf file you want to modify is saved, and click Select.
3. 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.
4. Locate the Options element in the DCF Editor. If the file doesn't include a 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.
5. Click next to the Options 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.
6. In the stylesheetDirectory field, enter the path to the alternative stylesheets directory. The path may be absolute or relative, and will be resolved relative to the directory in which the .dcf file is located.
7. Click OK.
8. Choose File > Save to save the changes you have made to the .dcf file.
For example, if you specified the stylesheet directory \a\b\c\doctypeb for the doctypea.dcf file, this will be interpreted by Arbortext Styler as: for documents of document type doctypea, refer to the directory \ab\c\doctypeb and use stylesheet