Create File Type Wizard > Parser Rules

Use this page of the wizard to provide the parser rules for the new XML file. SDL Trados Studio uses the parser rules to process XML files, for example to separate translatable from non-translatable text.

Each XML file type has a different set of Parser Rules.

After the file is created this information is displayed in the Parser Rules page.

The following table describes the columns used in the list of parser rules.

Column

Description

Rule

The XPath address for which there is a parser rule

Translate

The translatable setting that the parser rule gives for contents at this address.

Tag Type

This is one of: Structure, Inline, or Not specified.

Context

See Context Properties

Format

The format of the text.

NOTE

Rules are applied in the order that they appear in this list.

The following buttons are available.

Column

Description

Add

Click to create a parser rule for the file type. The Add Rule dialog box is displayed.

Edit

Select a rule and click this to edit the rule settings. The Edit Rule dialog box is displayed.

Remove

Select a rule and click this to delete the rule.

Remove all

Click to remove all rules.

 

 

Related Topics

Create File Type Wizard > Overview

Create File Type Wizard > File Type Information

Create File Type Wizard > XML Settings Import

Create File Type > File Detection

Create File Type Wizard > Save File Type

Overview: Working with File Types

Finding the Right Set of File Type Options

Add a New XML File Type