About this task
This example uses the acme_tables.mtt file installed in install_dir\examples
\dsgstud\ttmaker\import directory. The acme_tables.mtt file was exported in the Design
Studio to create the acme_tables.mts
file. See Creating an
XML Document File for details about creating .mts files.
To run the Type Tree Maker
Importer:
Procedure
-
Access the Importer
Wizard in the Design Studio application.
-
In the Import window, select Type Tree Maker from the
import source list, and click
Next. The Type Tree Maker Importer window
opens.
-
Enter or select the name of the Type Tree Maker (.mts) file that you want to
import, in the File name field, following the Importer
Wizard instructions.
-
To generate the type tree, click Next. If the
destination type tree file exists, you are prompted to continue or stop the
import operation in the Overwrite Warning window.
After the import operation runs, it displays the run results in the Type Tree
Maker Importer window. If errors or warnings, or both, occur, they appear in
that same window. The errors and warnings are also saved to a log file in
the product installation directory. The file name is
ttmaker.log. You can open this file and analyze it
in a text editor after the import operation has completed. The import
operation deletes and regenerates this log file every time a new Type Tree
Maker (.mts) file is imported. If errors occur, the import operation cannot
generate the type tree until you resolve the problem. If only warnings
occur, the import operation can still generate the type tree; however, you
should inspect it to ensure that the reported warnings do not interfere with
the requirements necessary for a valid instance document.
-
After the type tree generation process is complete, click
Finish.
A BR tag was used here in the original source. If the type tree was
generated, you are given the option to open the type tree in the Type Tree
editor. The Properties view for the generated type tree contains the
imported data format for the generated type tree. You can also click the
type tree in the Extender Navigator view or the Navigator view to view the
date and time that the import operation generated the type tree, under the
Info property in the Properties view.