Modifying the XML files directly

You can edit the XML files with any text editor, or a specific XML editor.

The file begins with a standard XML header, and all of the Uniface data is held between two markers:

<uniface_schema>
</uniface_schema>

Do not add any lines after this last tag.

Lines added between tags, but within the <uniface_schema> will be preserved.

<uniface_schema>
<!- this is a safe comment -->
<XMLuform>
<ulabel>NEW</ulabel>
</XMLuform>
</uniface_schema>

Lines added between tags, within tags will not be preserved, e.g.:

<uniface_schema>
<XMLuform>
<!- comment that will dissapear when the form is edited in IDF -->
<ulabel>NEW</ulabel>
</XMLuform>
</uniface_schema>

Entity tags should always end in a new line, or else certain performance optimisations in the driver are unavailable:

CORRECT α

<uniface_schema>
<XMLuform><ulabel>NEW1</ulabel></XMLuform>
<XMLuform><ulabel>NEW2</ulabel></XMLuform>
</uniface_schema>

INCORRECT ρ

<uniface_schema>
<XMLuform><ulabel>NEW1</ulabel>
</XMLuform><XMLuform><ulabel>NEW2</ulabel>
</XMLuform>
</uniface_schema>

Further Information

How the driver works
How the driver works with Source Code Control
Format of the files
Differences between UD6/CMtool and UD7/XML-DATA and W3C XML-DATA format
Division of the entities

UD6 Overview
How to use the driver with a configuration management solution

$Revision: 1.8 $ $Date: 2003/07/16 00:34:51 $[go to top]