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 XML documents in 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, the 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 - the Multi-Import Manager dialog appears.
  3. Click on the Add button - a standard File Chooser appears.
  4. Select files from the appropriate directory. In our case it is the demo directory MultiImport.
  5. From Files of Type: combo box select the appropriate Encoding - ASCII Text File .
  6. Click on the Import button. - The MultiImport Manager dialog opens in the system with the choosen documents.
  7. From Default DTD for documents: combo box select teixlite2x.dtd. This is the DTD according to which the chosen files are validated. There is a possibility to set an explicit DTD to each document in the second column of table with documents.
  8. Select the internal directory in the system Root : Work in the Send document to group: field, where to save the documents. Click Select button and choose it from the Document Groups Hierarchy dialog.
  9. If there is no directory selected - documents can be seen in the All Documents list in the system.
  10. The dialog of the tool in this case has to be:
  11. Then you can import documents by clicking the Start button.

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.