I just came across the following two articles that have some good pointers for using the native XML capabilities of DB2:
- Using DB2 XQuery to extract data mining results stored as PMML: this article is a great introduction to XQuery and Predictive Model Markup Language (PMML), a language to describe data mining models and to enable the exchange of mining models between different data mining providers.
- 15 best practices for pureXML performance in DB2: this article has valuable performance optimization advice.