文書型 > Using a Schematron > Specifying a Schematron File
  
Specifying a Schematron File
By default, a Schematron file is stored in the document type directory and is named doctypename.sch. If desired, you can specify alternative or additional locations for a document type’s Schematron file in the document type configuration (.dcf) file.
To specify a document type Schematron file
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 OK.
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 schematronFile field, enter the path to the document type Schematron file. The attribute will accept a list of paths, delimited by a semi colon (;), if you wish to specify more than one.
The paths can be absolute or relative. If relative, a path is 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.