If you plan to store XML documents as data in columns of your DB2® database tables, you can use XML schemas to validate the XML data and to generate sample XML data. An XML schema that you want to use for validation or sample generation must be registered in the XML Schema Repository (XSR).
Requirements:
To register an XML schema in the XML Schema
Repository:
The IBM XSR Designer opens.
For detailed information about the fields in the designer view, see XSR Registration, Designer.
The XML schema is registered in the XML Schema Repository and stored in the database schema that you specified.
Creating IBM Databases | Adding IBM Data Connections