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:
teixlite2x.dtd
is compiled in the
system. If it is not, then compile it as it is described in DTD Tool Demo.File
- the Multi-Import Manager dialog
appears.Add
button - a standard File Chooser appears.MultiImport
.Files of Type:
combo box select the appropriate Encoding -
ASCII Text File
.Import
button. - The MultiImport Manager dialog
opens in the system with the choosen documents.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.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.All Documents
list in the system.
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.