Terminology Checker for DITA and XLIFF
You can search for not recommended terms in DITA and XLIFF files with Schematron rules. You can generate them with the  with the termchecker-dita and termchecker-xliff transformations. These Schematron rules suggest corresponding preferred synonyms.
NOTE You can create an Oxygen validation scenario to perform these checks automatically.
Termchecker DITA
The transformation termchecker-dita generates Schematron rules for DITA topics.
Parameters
- debugging.mode
- Activates the debugging mode. Possible values are trueandfalse. Default value isfalse.
- args.language
- Language of the terminology check rules, for instance en-US.
Termchecker XLIFF
Parameters
- debugging.mode
- Activates the debugging mode. Possible values are trueandfalse. Default value isfalse.
- args.check.elements
- Choose whether terms should be checked only in source elements or target elements or in both of them.
- args.language
- Language of the terminology check rules.
Publishing a Termchecker for DITA from oXygen XML
- 
Open the samples DITA map ~/org.stefan.jung.terminology/samples/terminology.ditamapin the oXygen DITA Maps Manager.
- 
In the Transformation Scenariosview, double click the entryTermchecker for DITA.
  The terminology is transformed to the Schematron file ~/out/termchecker-dita/terminology-DITA-en-GB.sch. By default, the terminology checker is generated for British English (en-GB). If you want to generate the terminology checker for another language, you have to change the parameterargs.languageof the transformation scenario.
- 
Create a new DITA validation scenario and refer to the generated Schematron file. - In oXygen open the menu Options>Preferences.
- In the Document Type Associationmenu, select theDITAdocument type association and click the buttonEdit.
- Open the Validationtab and click the + button, to create a new validation scenario.
- Create a new validation scenario named Terminologyand specify the Schematron schema.
 
- In oXygen open the menu 
- 
Create a new DITA topic. 
- 
Set the xml:langattribute of the topic toen-GBand write the wordtrucksomewhere in the topic.
 The term violation is indicated with a small lamp icon. Click on the lamp select theReplace with an allowed termaction. This works both in text and in author mode.The deprecated term has been replaced. 
Explanation
The deprecated and the allowed term notations are defined in the truck.dita file.
<fullForm usage="notRecommended" language="en-GB">
  <termVariant>truck</termVariant>
</fullForm>
<fullForm usage="preferred" language="en-GB">
  <termVariant>lorry</termVariant>
</fullForm>This page explains how to use the termchecker for XLIFF. The Termchecker XLIFF (as the Termchecker DITA) is technically a Schematron file, that searches for not recommended terms and replaces them with preferred synonyms. It is recommended add a new document type association by extending the XLIFF framework and create a new validatation scenario using the termchecker XLIFF Schematron file.
Parameters
- args.check.elements
- Choose whether terms should be checked only in source elements or target elements or in both of them. Possible values are source,target,both. Default value issource.
- args.language
- This is the language of the terminology check rules, for instance de-DE.
Quick Start Presentation: Recorded by Syncro Soft/OxygenXML Editor, DITA-OT Day 2016, Munich
INFO To learn how to validate your DITA topics with the Schematron termchecker, read Creating a New Validation Scenario.