< Previous | Next >

Registering the XML schema

Using the Register an XML Schema wizard, you can register an XML schema to the DB2(R) database server. The XML schema will be used to validate XML column data by using the Table editor.

To register the XML schema:

  1. n the Data Project Explorer view, right-click the employee XML schema document, and select Register an XML Schema. The Register an XML Schema wizard opens.
  2. In the Relational schema name field, type MyRelationalSchema.
  3. In the XML schema name field, type MyXMLSchema.
  4. Click Next. You should see the employee XML schema document in the XML schema documents and dependencies list.
  5. Click Finish to register the XML schema.
< Previous | Next >