![]() |
Select Rule |
Use this dialog to edit a select rule. The rule is used to select localized elements in a structured file such as XML or JSON.
Expression that specifies the element(s) you want to localized or give context.
Specifes the action the rules performst. Possible value are:
| Action | Description |
|---|---|
| Localize | Element expression selects element(s) that you want to localize. |
| Specify context | Element expression selects element(s) and Id expression selects the context value(s). Select this if you want to that the rule specifies the id of the value element but does not make the element for localization. |
Expression that specifies the element giving the id of the element specified in the Value expression field. Must be a relative XPath to the element the rules selects.
Optional expression that specifies the element showing if the element specified in the Value expression field should be localized. Must be a relative XPath to the element the rules selects.
The data format of the element. Select Detect format to let Soluling to detect the format. Otherwise select the format from the list.
| Format | Description |
|---|---|
| Plain text | String contains plain text. |
| Segmented text | String contains the segmented text. |
| Boolean | String contains a boolean value. 1/0, true/false, and yes/no are valid values. |
| Integer number | String contains an integer number. |
| Floating point number | String contains a floating-point number. It can be in scientific format (e.g., 1.45E-12). The decimal separator (if any) must be a period (e.g., 1.5). |
| Color | String contains a color value. Possible formats are [#|$|0x][AA]RRGGBB or [#|$|0x][A]RGB. |
| Date and time | String contains a date and time value. ISO 8601 (Wikipedia) must be used. |
| Expression | String contains a structured string that is defined using an expression. Regular expressions are used to parse the string. |
| Defined text | String contains the defined text. A text definition (using regular expressions) is used to parse the string. |
| Script | String contains script data. A script/source code parser is used to parse the string. |
| XML | String contains XML data. An XML parser is used to parse the string. |
| JSON | String contains JSON data. A JSON parser is used to parse the string. |
| YAML | String contains YAML data. A YAML parser is used to parse the string. |
| INI | String contains INI data. An INI parser is used to parse the string. |
| HTML | String contains HTML data. An HTML parser is used to parse the string. |
| SVG | String contains SVG data. An SVG parser is used to parse the string. |
| Base64 encoded binary data | String contains base64 encoded data. Encoded data is decoded into original binary data and scanned. |
| Base32 encoded binary data | String contains base32 encoded data. Encoded data is decoded into original binary data and scanned. |
| Base16/hex encoded binary data | String contains base16/hex encoded data. Encoded data is decoded into original binary data and scanned. |
| URL encoded binary data | String contains URL encoded data. Encoded data is decoded into original binary data and scanned. |