Hi Flurb, This won’t work without some extra effort from your side; I am not sure what part of the https://docs.basex.org/wiki/Database_Module <https://docs.basex.org/wiki/Database_Module> you are referring to.
XQuery however is a full-fledged programming language, so you might implement a versioning mechanism on your own; however if your experience using XQuery is rather limited, that might not be the best starting project :-) You might have a look at https://sirix.io <https://sirix.io/> — it has been created by our friend Johannes, which might be more suitable :-) Best Michael > Am 04.11.2020 um 14:13 schrieb Rob <priv...@tjalma.com>: > > Hi all, > > I first created an Github Issue for this question, but that’s not the right > play :) > > So hereby my question: > > I was wondering how versioning works in BaseX. > So I have a XML file, I store another version of that same XML file and > within BaseX there is some kind of versioning so I can retrieve both versions > of the XML file. > > I look into your mail archive, and I found the following mail: > https://www.mail-archive.com/basex-talk@mailman.uni-konstanz.de/msg07369.html > <https://www.mail-archive.com/basex-talk@mailman.uni-konstanz.de/msg07369.html> > > Here it states that with using database metadata (Database Module, > https://docs.basex.org/wiki/Database_Module > <https://docs.basex.org/wiki/Database_Module>), you can achieve versioning. > But I don't see anything about it in the documentation. So I was wondering if > it is a thing in BaseX (versioning), and how it's accomplished 👍 > > Thanks! > > Kind regards, > Rob Tjalma