In this paper we propose an enhancing of so-called adaptive XML-to-relational mapping methods which evaluate several mapping possibilities and choose the one which suits the current application the most. We optimize the process of searching the optimal strategy using a heuristic called Ant Colony Optimization and we enhance the adaptivity using similarity of XML data and ideas of user-driven techniques.