Hello all,
I discovered BaseX recently and I find it really powerfull. Unfortunately, I read that versioning was not supported out of the box in 2014 [1]. Is it still the case ? Is there no simple workaround ?
My usecase is the following. I have thousands of XML files which are indexed using BaseX in a specific database, lets say "mydb". At some point of time, a user may want to add a new XML file which is a slightly modified version of one already indexed by BaseX.
I would like to be able to:
- store this new XML resource in "mydb" database without loosing the XML from which it is issued
- to retrieve the latest version or a previous one.
- filter resources based on the latest version
A simple way to achieve such a behaviour would be to be able to index a XML resource in BaseX with some additional meta information such as an ID and a timestamp, and then offer the possibility to use these meta information in an XQuery to filter resources.
Is it possible with BaseX 8.3 ?
I am looking for a solution that does not a require another database.
Kind Regards,
Laurent Pellegrino