配置 XML W3C-ITS 文件类型
您可以配置 XML W3C-ITS 设置,以便自定义在翻译或审校期间处理这种文件类型的方式。
过程
- 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 W3C-ITS 筛选条件。
- 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 style sheets which enable SDL Trados Studio to preview your HTML files correctly:
- In the Stylesheet transform: area, select a style sheet.
- In the Additional files: area, select Add to include reference files (CSS, JavaScript or image files) for your style sheet.
- 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.
- 选择确定。