XML Editor

The XMLEditor is a highly user-friendly tool to manage the standard hole table standard hole data and dictionaries information in a table format, add new items and override the existing ones. In case of Hole STD Table, you can also duplicate the data. The XMLEditor manages and saves the data in the Extended Markup Language (XML) format. There are two approaches to start the XMLEditor:

  1. All Programsthink3ThinkDesign version numberUtilitiesXML Editor
  2. Installation folder/thinkdesign/bin/NET/XMLEditor.exe

On starting the tool, the XMLEditor dialog box is displayed. If you start the XMLEditor from the installation folder, before doing any customization of data, you need to configure the files (System and User) and the options by using the Configuration command from the menu bar.

Key functionality of XML files

When for the first time the XMLEditor is used to update a standard hole table or dictionary file, the original (system) file in not modified, rather a copy of the same file is made at "User folder/Application Data/think3/thinkdesign/version number/files/dictionaries/*.xml" with the updated information. Hereafter, the XMLEditor accesses the dictionary or standard hole data from the file at the new location and it is the one that gets customized. Due to this functionality of XMLEditor, the original standard hole table or dictionary file remains preserved inside the installation folder. However, there is also a possibility to modify the default data in the system files.

In fact using xml editor without input version you could set your root folder in a different thinkdesign version to change default value and also remove root folder and set the user = root and try to modify the system values changing the file attributes.

To do so:

  1. Start the XMLEditor from the installation folder.
  2. Select Configurations command; the Configurations dialog box is displayed.
  3. In the Configurations dialog box, select the Folders tab. Set the path of both the System files and the User files equal to "User folder/Application Data/think3/thinkdesign/version number/files".
  4. Select the command: Hole STD Table or Dictionaries.
  5. Modify the default data. The modification you have done overrides the default data in the system files.

The common user interface items for the Hole STD Table and Dictionaries in the XMLEditor dialog box are explained below:

Configuration The controls in the Configuration dialog box enable you to specify folder paths and set the general options. The dialog box contains the following tabs:
Folder Contains the following edit boxes.
System files (read-only) Displays the default location (Installation folder/thinkdesign/files) of the saved system files. Refer to "Key functionality of files" section for more details.
User files Enables you to specify the location to save the user customized files. You can modify the default one(User folder/Application Data/think3/thinkdesign/version number/files) by using the Browse () button.

Note
If you start the XMLEditor from the Utilities, it is not possible to change the System files (read-only) and the User files as they have been defined in accordance with the product paths.

Options Enables you to determine:
Color user item Enables you to choose the color to be used to highlight the user created or modified items. Select the Browse () button to open the color palette to select a different color. The current color is displayed on the Browse button.
Select Languages Enables you to choose the language, in which the user interface should be displayed, from the drop-down list. By default, it is English (United States).
Use date to back up file When the check box is selected, the current date and time is appended in the file name. For example, Enumerations.xml.Friday_4_17h_39_37.bck
When cleared, date is not included in the back up file name. For example, Enumerations.xml.bck
Hole STD Table Displays an editor window, which enables you to customize of Hole STD Table parameters.

Dictionaries Enables you to determine the type of dictionaries (Enumerations and Symbolic Text) to be customized. When a dictionary is selected, an editor window is displayed to allow customization on the chosen dictionary.

Save table Enables you to save the active table changes to the related *.xml file(s).

Close table Enables you to close the active table.

Exit Enables you to close the XMLEditor application. If there are any open tables that you have edited but have not yet saved, a confirmation dialog box affirms whether you want to save the changes before closing.

Related Topics

Try to...