You
can create a command line processor (CLP) script that
you can run later to register an XML schema on a DB2® for Linux®, UNIX®,
and Windows® Version 9.1 or Version 9.5 database.
- Create
a connection to a DB2 for Linux, UNIX,
and Windows, Version 9.1 or 9.5 XML database
in the Data Source Explorer.
- Create a data development project
that is associated with this
connection.
To create a CLP script,
you can use the Generate XML Schema
Registration CLP Script wizard or the Register an XML Schema wizard.
If you use the Register an XML Schema wizard, the CLP script is generated,
and the registration is also completed. If you use the Generate XML
Schema Registration CLP Script wizard, the CLP script is generated,
but the registration is not completed.
To create a CLP script
to register an XML schema:
- Right-click
the XML Schema Documents folder
or an XSD file in a data development project in the Data Project Explorer
and select Generate CLP Registration Script.
- Complete the steps of the wizard. For
additional
help with the wizard, press F1. A temporary file
containing the CLP script opens in the text editor.
- Optional: Modify the file in the editor, and save
it to the file system by clicking , and specifying a local
directory.
You can run the script outside
of the workbench to register
the XML schema that you selected.