Registering an XML schema

You can register an XML schema from the Db2 subsystems tree view, which displays the available subsystems and their associated object types.

About this task

Important: You cannot modify an XML schema after it is registered. If you want to change any details in the registered XML schema, you need to first delete the existing schema and then re‑register it with the updated information.

Procedure

  1. On the navigation menu, click Db2 subsystems.
  2. Click the required subsystem and the icon next to the XML schema object type.
    The Register XML schema page is displayed.
  3. Provide the required field values for the following:
    XML schema name
    Specify a name for the XML schema.
    Notes:
    • The XML schema name can include alphabetic (A-Z, a-z) characters, alphanumeric (A-Z, a-z, 0-9) characters, and special characters (@, $, #, and _ ).
    • The XML schema name cannot start with a number or a special character.
    XML schema comment (optional)
    Enter a comment for XML schema registration as necessary. This is an optional field.
    Schema location
    Specify the XML schema location.
    Upload XML schema definition file
    Click the Add file button and select the required XML schema file to upload.
    Note: You can only upload .xsd file format.
    After the XML schema definition file is uploaded successfully, the link from the file is added to the Target namespace field automatically.
  4. Click Register.
    The XML schema is registered successfully.

What to do next