When you have defined "XML" as document type, the Document type options button is clickable to fine-tune the preparation process. When you click it, the following dialog box will appear:
In the Tag brackets frame, the brackets are defined:
· The main brackets are pre-defined and cannot be changed.
· Special brackets are brackets which are completely treated as external tags. To add items, enter a tag name in the text box below the list and click the Add button. To remove items, select one item in the list and click the Remove button.
In the Special external tags frame, you can define tags which need special treatment. To add items, enter a tag name in the text box below the list and click the Add button. To remove items, select one item in the list and click the Remove button.
In the Internal tags frame, all tags are defined which are treated as internal tags. To add items, enter a tag name in the text box below the list and click the Add button. To remove items, select one item in the list and click the Remove button.
In the Attributes to be translated frame, all attributes that need to be translated are defined. To add items, enter a tag name in the text box below the list and click the Add button. To remove items, select one item in the list and click the Remove button.
In the Options frame, several special settings can be made:
· Activate Optimize external tags, when internal tags which have external tags as neighbors should be treated as external tags, except if the tag has a closing tag which cannot be treated as an external tag (recommended).
· Activate Optimize aggressively when all internal tags which have external tags as neighbors should be treated as external tags (disregarding any closing tags) (recommended only in special circumstances).
· Activate Translate CDATA sections when the CDATA sections should be handled as text (usually the CDATA sections contain strings that do not need to be translated). If the CDATA sections contain tagged text that should be treated like normally tagged text, tick Tag treatment.
· Activate Remove paragraph breaks to remove paragraph breaks. This is important when the document contains many page breaks resulting in inconvenient segmentation of the text. To restrict this feature to a special paragraph tag, tick the In this tag only option and define the tag name (default value is "para").
Further functions:
· To set the current settings as default settings, click the Save as default button.
· To save the current settings, click the Save button and define a name in the dialog displayed.
· To load settings, click the Load button and select a setting.
· To load the original default settings, click the Orig. default button.