An XML-Based Database for Knowledge Discovery: Definition and Implementation