DAD script

The relational database (RDB) to XML mapping editor generates a document access definition (DAD) file that can be used with the IBM DB2 XML Extender to generate XML documents from existing relational data, or to decompose XML documents into relational data. The DAD file, also referred to as a DAD script, is an XML formatted document that associates an XML document structure with tables in a DB2 database.

This generated script uses the RDB node mapping schema which can either decompose XML documents into a collection of relational tables or compose XML documents from a collection of relational tables. The script is a direct expression of the semantics captured in the mapping of elements and attributes in an XML target document from tables and columns in a relational database document during one or more mapping sessions.

 

Parent topic

Generating DAD files

Related tasks
Generating DAD files
document type definition (DTD) file, or need to otherwise modify the output of the DAD Generator. ">Editing DAD files
Running DAD files with the DB2 XML Extender

Related reference
The generated DAD script