About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Publication
ICDE 2003
Conference paper
Querying XML data sources in DB2: The XML wrapper
Abstract
The XML Wrapper exploits the federated database capabilities of DB2 to enable SQL applications to query XML data from a variety of sources, including files and web services. The XML Wrapper models hierarchical XML documents as families of virtual relational tables in a federated schema, which can then be queried to extract information from the XML and combine it with from other sources. To keep the wrapper simple and efficient, we take advantage of the existing capabilities of DB2 to the greatest extent possible. Our approach uses the DB2 optimizer's ability to explore the space of join orders and join methods to find good execution plans for queries that include XML documents. We also leverage DB2's view and rewrite mechanisms to allow a simple wrapper to support the full range of SQL queries an application might submit.