Procedures for XML schema registration and removal that are supplied with DB2

DB2® provides several stored procedures that you can call in your application programs to perform XML schema registration and removal.

Those stored procedures are:
Table 1. XML schema stored procedures
Stored procedure name Function
XSR_REGISTER The XSR_REGISTER procedure is the first stored procedure to be called as part of the XML schema registration process.
XSR_ADDSCHEMADOC The XSR_ADDSCHEMADOC stored procedure is used to add every XML schema other than the primary XML schema document.
XSR_COMPLETE The XSR_COMPLETE procedure is the final stored procedure to be called as part of the XML schema registration process.
XSR_REMOVE The XSR_REMOVE procedure is used to remove all components of an XML schema.