Multifocal: A Strategic Bidirectional Transformation Language for XML Schemas

Citation:
Cunha A, Pacheco H.  2012.  Multifocal: A Strategic Bidirectional Transformation Language for XML Schemas. Proceedings of the 5th International Conference on Model Transformation - ICMT. 7307:89–104.

Tertiary Title:

LNCS

Date Presented:

May

Abstract:

Lenses are one of the most popular approaches to define bidirectional transformations between data models. However, writing a lens transformation typically implies describing the concrete steps that convert values in a source schema to values in a target schema. In contrast, many XML-based languages allow writing structure-shy programs that manipulate only specific parts of XML documents without having to specify the behavior for the remaining structure. In this paper, we propose a structure-shy bidirectional two-level transformation language for XML Schemas, that describes generic type-level transformations over schema representations coupled with value-level bidirectional lenses for document migration. When applying these two-level programs to particular schemas, we employ an existing algebraic rewrite system to optimize the automatically-generated lens transformations, and compile them into Haskell bidirectional executables. We discuss particular examples involving the generic evolution of recursive XML Schemas, and compare their performance gains over non-optimized definitions.

Citation Key:

PachecoCunha:12a

DOI:

10.1007/978-3-642-30476-7_6

PreviewAttachmentSize
icmt12.pdf750.31 KB