Working with XML and Databases

Many relational databases now support XML so that you can store or retrieve data through XML files. You can use an XML model to generate an annotated schema that will allow you to store or retrieve data in such a database.

The following databases are available :

Database

Mapped XML model

Targeted XML language

Required XEM file

Microsoft SQL Server 2000 and higher

Yes

XSD or XDR

Microsoft SQL Server

Oracle 9i2 and higher

No

XSD

Oracle 9i2

IBM DB2 v8.1 and higher

Yes

DTD

IBM DB2 DAD

By attaching the SQL/XML extensions to an XML model mapped to a PDM, you can also generate SQL/XML queries to retrieve data in an XML format, from relational databases supporting SQL/XML.

Note: You can also generate PDM tables from an XML schema. For more information, see Generating Other Models from an XSM.