The paper addresses the problem of XML document adaptation -- transforming a document valid against an old version of an XML schema to a document valid against the new version of the schema. We propose a solution using a conceptual model, where the relationships between the old and new versions are specified declaratively.
We focus on those scenarios, where mere between the structures of the schemas (corresponding to the parts of the XML documents) is not descriptive enough, because there are more intricate relationships between the data in the source and target document. We propose a use of OCL, an expression language and part of the UML standard, to declare the relationships as formal annotations of the mappings.