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:
- 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.
- Click the Embedded Content Processors tree and select the existing processor that you want to duplicate.
- 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.
|
- Click OK to close the Copy embedded content processor dialog box and return to the File Types page.
- Click OK on the Options/Project Settings dialog box to save the changes you make to the new embedded content processor.
- 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.
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