IBM Database Add-Ins for Visual Studio  

XSR Registration, Designer  (DB2)

In the XSR Registration view of the IBM® XSR Designer, you register an XML schema in the XML Schema Repository (XSR).


XSR Information
In this section, you specify the information for registering an XML schema in the XML Schema Repository.
XML schema file
Shows the path of the selected XML schema file. To register a different XML schema, click Ellipsis button, and then browse to and select the XML schema file.
XSR name
The registered name of the XML schema file in the XML Schema Repository. This field is filled in automatically after you select an XML schema file.
Owner
The name of the DB2® relational database schema in which to store the XML schema file. You can validate XML data that is stored in any database schema in the data connection against the stored XML schema. If you do not specify a value in this field, the XML schema is stored in the default database schema. The name of the default database schema is the user ID with which you created the data connection.
Comment
Type one or more comments about the XML schema file. The comments that you type here are shown in the Comment property in the Properties window.

After you have registered the XML schema, the comment is the only value associated with the XML schema registration that you can change.

Schema location
The location of the schema in which to find the references that belong to the default XML namespace that is defined in the XML schema. This field, which shows the value of the schemaLocation attribute in the <schema> element in the XML schema file, is filled in automatically.
Decomposition
If this value is True, and if the XML schema is annotated, the XML schema can be used to decompose or shred the data in XML documents. The map link sources that are defined in the annotated XML schema are used to extract the data in an XML document. The extracted data is stored in the relational database columns that correspond to the map link targets in the annotated XML schema.
Dependencies
This section lists all the dependent XML schema files that are specified in the master XML schema file or in an embedded XML schema file. The files can be either imported or included.
Schema Location
The location of the schema in which to find the references that belong to the XML namespace that is specified in the <import> element in the master XML schema or in an embedded XML schema.
File Location
The best estimate of the location of the dependent XML schema file. If the path shown in a cell is not accurate, click the cell, click Ellipsis button, and then browse to and select the location of the dependent XML schema file.

See Also

IBM XSR Designer | Registering XML Schemas


.NET Development Forum   DB2 FAQs

© Copyright IBM Corporation 2002, 2019. All Rights Reserved.