Document Types > Document Type Configuration (.dcf) > Configuring Elements to be Ignored During a Spelling Check
  
Configuring Elements to be Ignored During a Spelling Check
You can specify elements and processing instructions that you want to be ignored when authors do a spelling check in a document type's .dcf file.
* 
Child elements within elements that are configured to be ignored will also be ignored, even if you do not configure them to be ignored. For example, if you configure filename to be ignored, the replaceable child element within the filename element will be ignored because it occurs within the filename element:
<para>Locate your
<filename>docbook.dcf</filename>
file.</para>
<para>This file is located in the
<filename>
<replaceable>Your PTC Arbortext path</replaceable>
/doctypes/docbook</filename>
directory.<para>
To specify elements to ignore during a spelling check:
1. Open Arbortext Architect.
2. Choose File > Open.
3. Locate the directory in which the document type whose .dcf file you want to modify 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 an 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, choose Insert > Markup, and choose 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 ignore during a spelling check. If you want to add a processing instruction, you must type the name of the processing instruction in this field.
* 
The _ignore processing instruction, used to indicate ignored marked sections in SGML documents, is always ignored during a spelling check. Processing instructions that surround generated text are also ignored. For more information on processing instruction names, refer to Processing instructions overview.
9. Choose no in the AllowSpellChecking field to indicate the specified element will be ignored during a spelling check.
10. Click OK.
11. Choose File > Save to save the changes you have made to the .dcf file.