8.5.2 Importing types from XML
Importing an XML types file into MetaEdit+ will update any
existing types whose internal or user-visible name matches, and create new types
when there is no match.
To import types in XML format:
1) | Press
the Import button on the Launcher toolbar (or alternatively select
Repository | Options, activate the Repository tab and press the
File in Patches button). This will open a file dialog from which you pick
the XML file to be
imported. |
2) | Choose
the .mxt file to import and press
Open. |
During import, the XML file
is first parsed. If an error occurs at this stage, you will be told the cause of
the error and approximate position. After closing the error dialog, you can
correct the file and safely attempt to import again.
After parsing, the XML elements are processed, creating
new GOPPRR types. Errors can still occur at this stage. If an error occurs at
this stage, you will be told the cause of the error and its approximate
position, and that you should abandon the current transaction. After closing the
error dialog you should thus abandon the transaction, to remove GOPPRR types
that have been only partially imported, and are likely to contain errors. If you
were updating existing types, you should exit and restart MetaEdit+.
As with all imports, you should check the imported data
after importing, and only commit the transaction if there are no
problems.