An XQuery-based Model Transformation Language
StadisticsView Usage Statistics
MetadataShow full item record
Author/sAlmendros-Jiménez, Jesús M.; Iribarne Martínez, Luis Fernando; López Fernández, Jesús J.; Mora-Segura, Ángel
In this paper we propose a framework for model transformation in XQuery. Our proposal aims to provide the elements for using XQuery as a transformation language. With this aim, our framework provides a mechanism for automatically obtaining an XQuery library for 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 abstract from XML representation, in the sense of, elements from meta-models are encapsulated by XQuery functions. We have also studied how to use our framework for model validation. Source and target models and transformations are validated by considering constraints. The framework has been tested with a case study of transformation in UML, where the XML-based representation of models is achieved by the standardized language XMI.