Product Documentation

FairCom RTG COBOL Edition User's Guide

Previous Topic

Next Topic

Appendix B - XDD Schema Structure

The XDD is an XML structure used to define indexes and various record schemas present in a data file. You should have a working knowledge of XML and a solid knowledge of your data structure to manually create an XDD.

The following sections describe the various tags needed to compose a complete XDD file. Remember that XML tags and their attributes are case-sensitive.

XDD Structure

The example below shows the basic structure of an XDD. The elements listed are defined in more detail in the sections that follow.

<table>

<key>

<part> </part>

...

More <part> elements

...

</key>

<filters>

<field> </field>

...

More <field> elements

...

<filter>

<"Operator">

<field> </field>

<value> </value>

</"Operator">

</filter>

...

More <filter> elements

...

</filters>

<schema>

<field> </field>

...

More <field> elements

...

</schema>

...

More <schema> elements

...

</table>

See Also

In This Chapter

<table> root element

<key> table element

<part> key element

<segment> key element

<filters> table element

<field> filters element

<filter> filters element

<[Operator]> filter elements

<field> operator element

<value> operator element

<schema> table element

<field> schema element

TOCIndex