An XQuery-Based Model Transformation Language

In this paper we propose a framework for model transformation in XQuery. With this aim, our framework provides a mechanism for automatically obtaining an XQuery library from a given meta-model. Meta-models are defined as XML schemas, and the XQuery library serves to query and create elements of an XML Schema. Transformations are XQuery programs that use the library to map source models to target models. The framework has been tested with a case study of transformation in UML, where XMI is used to represent models.