Introduction to annotated XML schema decomposition using the DB2 Visual Studio 2005 Add-in
Use DB2 XML shredding technology
From the developerWorks archives
Date archived: January 11, 2017 | First published: November 09, 2006
The annotated XML schema decomposition feature introduced in DB2® 9, can be used to decompose entire, or fragments of, XML documents into relational tables. DB2 9 XML shredding technology uses annotations in XML schema as the mapping language to map information in an XML document to relational tables. The DB2 XML decomposition uses annotated XML schema to obtain mapping information. Annotations added to the XML schema do not participate in the validation of XML documents. Therefore, you can use the same XML schema for both mapping and the validation of XML documents. In this article, you'll find detailed examples of how to use DB2 Visual Studio 2005 Add-ins to build an application that use DB2 9's XML shredding technology, which allows XML to be shredded, stored, and validated into a relational table.
This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.