A data model for versioned XML documents using XQuery

Due to the linear nature of time, XML timestamped solutions for the management of XML versions have difficulty in supporting non-lineal versioning, and their implementations are few and portableless. This paper proposes a version data model for XML documents developed using the branch version technique for XML documents shown in [9, 10]. We have built a system following this model based on XQuery modules, so that it ensures us a high portability and it allows its use not only in XQuery engine but also in XQuery-support XML native databases. In order to verify it, the modules have been integrated in the eXist XML native database, a difference tool has been used to obtain the changes made between versions, and the eXist Web interface has been extended to make easy the management of XML versions.