Member Login

E-mail:    Password:  


Vendor : IBM


Email  E-mail this page

Related Content  Related Content

Remember  Remember this item

 

Format: HTML

Date: 03/01/2008


Shred XML Documents Using DB2 pureXML: Two Methods for XML Decomposition in DB2 for Linux, UNIX, and Windows

WORTHWHILE?

0

0 votes


Overview

This paper focuses on ways to "Shred" XML data in DB2. Shredding is the process of mapping XML elements and attributes into relational tables and columns. One way to shred in DB2 is through the use of an annotated XML schema. If the XML data contains an XML schema, it is the easiest and fastest way to perform decomposition. If the mapping is significantly complex and involves multiple tables, existing tools automate both the mapping and decomposition steps. Another, perhaps less-known, method for shredding is through the use of the SQL/XML function XMLTABLE. It is useful when an XML schema does not exist. Using the XMLTABLE function can be more complex since the decomposition steps must be manually coded.



See also: Programming Languages, Database Management