Creating custom embedded content processors

You can create embedded content processors to customize the way the embedded content is processed for each *.xml file or for those files which do not have an associated embedded content processor.

About this task

Create additional embedded content processors if you:
  • Work with different types of *.xml files and you want to process embedded content differently for each type of *.xml file. For example, you may want to extract and process HTML 5 content differently in an *.xml Microsoft .NET file than in an *.xml DITA file. Using separate embedded content processors for different *.xml file types enables you to assign different embedded content processors for each *.xml file type.
  • Process a type of *.xml embedded content that does not have an existing embedded content processor. For example, you may want to set rules for extracting and processing MadCap XHTML content inside an *.xml file. To do this, copy one of the existing embedded content processors and configure it considering the characteristics of MadCap XHTML embedded content.

Procedure

  1. To configure file type settings, go to:
    • Projects view > Home > Project Settings, for the active project.
    • File > Options, for all future projects.
  2. Select Embedded Content Processors.
  3. Select the existing processor that you want to duplicate, and then select Copy....
  4. In the Copy embedded content processor dialog, specify a custom name and an identifier for the new processor.
  5. Select OK.
  6. Customize the settings of the new embedded content processor to make sure Trados Studio extracts the relevant embedded content and displays it correctly in the Editor view.