配置 XML 任何 XML 文件类型
您可以配置 XML 任何 XML 设置,以便自定义在翻译或审校期间处理这种文件类型的方式。
过程
- Decide for which projects you want to configure file type settings:
- For the active project, go to the Projects view, and on the Home tab, select Project Settings.
- For all future projects, go to .
- 展开文件类型列表,然后选择 XML 任何 XML 筛选条件。
- Select the Detection page, and consult the page indicating that file detection settings are predefined.
- Select the Parser page, and consult the page indicating that parser settings are predefined.
- Select the Writer page, and then:
- Select the Entities page, and then select Enable entity conversion to specify whether SDL Trados Studio displays an XML Entity as an entity reference (
>) or as a character (>). - Under Entity conversion, select the checkboxes corresponding to the XML entities for which you want conversion to apply.
- Select the checkboxes corresponding to the XML entity sets for which you want conversion to apply. Entities can be of the Default (the entities are the standard entity mappings from W3C) or of the Custom type (the entity set was changed).
- Select Advanced, and in the Advanced XML Entity Settings dialog, specify when characters are converted between entity representation and character representation.
- Under Entity mappings, consult the entities in the entity set selected under Entity conversion, and, if necessary, you can add, edit or remove entity mappings.
- Select the Namespaces page, to provide namespace declarations for an XML file type.
- Select the Whitespace page, to specify how SDL Trados Studio deals with whitespace characters (spaces, non-breaking spaces, tabs, line breaks) in the elements of an XML file.
- Select the Preview page, to add the resource files which enable SDL Trados Studio to preview your HTML files correctly. Select Add to include reference files (CSS, JavaScript or image files).
- Select the Validation page, to specify the settings which ensure that the structure and content of the XML file matches the specifications given by the DTD or schema.
- 选择内嵌内容(旧版)页面,指定将文件中的内嵌内容作为带有标注的标记进行处理的方式。
- 选择启用内嵌内容处理。
- 在文档结构信息区域中,选择添加...以创建基于文档结构信息的提取规则
- 在标记定义规则区域中,选择添加...以指定要处理的标记并将其定义为可翻译或不可翻译。
- Select the QuickInsert page.
- Specify QuickInsert settings to insert tags and formatting, or to insert text and special characters.
- 选择确定。