DB2 Version 9.7 for Linux, UNIX, and Windows

XML input documents

The XML documents that are passed as input to common SQL API stored procedures share a simple XML format that is based on a common DTD.

The XML input document consists of a set of entries that are common to all stored procedures, and a set of entries that are specific to each stored procedure. The XML input document has the following general structure:
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0"> 
<dict> 
   <key>Document Type Name</key><string>Data Server Message Input</string>
   <key>Document Type Major Version</key><integer>1</integer>
   <key>Document Type Minor Version</key><integer>0</integer>
   <key>Document Locale</key><string>en_US</string>
   <key>Complete</key><false/> 
   <dict>
      <!-- Document type specific data appears here. --> 
   </dict>
</dict>
</plist> 
Important: XML input documents must be encoded in UTF-8 and contain English characters only.