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:
teixlite2x.dtd is compiled in the
system. If it is not, then compile it as it is described in DTD Tool DemoFile - a
standard File Chooser appears.
MultiImport.Files of Type: combo box select the appropriate Encoding -
ASCII Text File
.Import button. - A MultiImport Manager Dialog
opens in the system.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.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.
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.