Import XML Tool Demo

The goal of this demo is to show how the Import XML Tool of the CLaRK system can be used for loading 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. When a document is imported a message about its validness appears - Valid or Not valid.

The documents used for this demo is: Standart20030524.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 Import XML tool from the menu item File or click on button - a standard File Chooser appears.
  3. Select files from the appropriate directory. In our case the demo directory Import.
  4. From Files of Type: combo box select the appropriate Encoding - ASCII Text File.
  5. Click on the Open button. - A dialog with list of all DTDs imported in the system opens.
  6. Select teixlite2x.dtd and press OK. This is the DTD according to that chosen files are validated.

As a result the document is opened in the system and the user can proceed with its treatment.

Warning: The document is not saved in the system, it depends on the user to save it in the system.