Creating a New Embedded Content Processor

Why create additional embedded content processors?

Create additional embedded content processors:

  • if you are working with different types of XML documents 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.
  • if you want to 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 document. To do this, copy one of the existing embedded content processors and configure it considering the characteristics of MadCap XHTML embedded  content.

 

Creating a New Custom Embedded Content Processor

To create a new embedded content processor:

  1. Click File > Options > File Types to add the new processor to your global settings or click Project Settings > File Types to create the new processor for the active project only.
  2. Click the Embedded Content Processors tree and select the existing processor that you want to duplicate.
  3. Click Copy... to display the Copy embedded content processor dialog box where you can specify a custom name and an identifier for the new processor.

NOTE

Give your custom embedded content processor a relevant File Type Identifier as SDL Trados Studio lists this on the Embedded Content page of the XML file types.

  1. Click OK to close the Copy embedded content processor dialog box and return to the File Types page.
  2. Click OK on the Options/Project Settings dialog box to save the changes you make to the new embedded content processor.
  3. Customize the settings of the new embedded content processor to make sure Studio extracts the relevant embedded content and displays it correctly in the Editor view.
    • For information on customizing the HTML settings, see HTML Parser, HTML Entities, HTML Whitespace.
    • For information on customizing the Plain Text settings, see Text (Regular Expression Delimited Text) Settings.

 

Importing and exporting settings for an embedded content processor

You can configure an embedded content processor automatically, using existing settings exported from a different processor. For more information, see Importing File Type Settings.

To export the settings of a customized embedded content processor for later use, see Exporting File Type Settings.

 

Related Topics

About Embedded Content Processors

Identifying Embedded Content

Legacy Embedded Content vs Embedded Content Processors

      We welcome your comments about the documentation. Click here to send us an email: techcomms@sdl.com.

Topic:  Published: November 10, 2014