Multi Import Tool Demo

The goal of this demo is to show how the Multi Import Tool of the CLaRK system can be used for loading and saving of XML documents into the system.

Each document is loaded with respect to an XML DTD. At least one DTD must be compiled in the system.

Documents that are not well-formed are not imported in the system. A message with the error in the XML structure of such documents appears. Additionally, when importing documents user can divide them into two : valid and well-formed.

The documents used for this demo are: Standart20030524.tag, Standart20030525.tag.

In order to run the demo you have to perform the following steps:

  1. Check whether the DTD: teixlite2x.dtd is compiled in the system. If it is not, then compile it as it is described in DTD Tool Demo
  2. Select the Multi-Import tool from the menu item File - a standard File Chooser appears.
  3. Select files from the appropriate directory. In our case the demo directory MultiImport.
  4. From Files of Type: combo box select the appropriate Encoding - ASCII Text File .
  5. Click on the Import button. - A MultiImport Manager Dialog opens in the system.
  6. From Default DTD for documents: combo box select teixlite2x.dtd. This is the DTD according to that chosen files are validated. There is a possibility to set an explicit DTD to each document in the second column in table with documents.
  7. From Send documents to group: combo box select the internal directory in the system Root : Work where to save the documents. If there is no directory selected - documents can be seen in the All Documents list in the system.
  8. The dialog of the tool in this case has to be:
  9. Then you can import documents.

As a result the well-formed XML documents are loaded and saved in the internal base of the system and the user can proceed with their treatment.