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 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 validity appears - Valid or Not valid.

The document 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 it is the demo directory Import.
  4. From Files of Type: combo box select the appropriate Encoding - ASCII Text File.
  5. Click on the Open button.
  6. If the DTD of the imported document is not in the system, a dialog with a list of all DTDs imported in the system opens.
  7. Select one of the DTDs and press OK. This selected DTD is the DTD according to which the 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.