Using the PureXML feature available from DB2 9.1 onwards, you can represent the same data as relational tables or XML documents.
In order for this feature to be truly useful, the performance must be comparable for the different types of queries.
This tutorial creates comparable relational and XML data and compares the query performance of each.