Re: [basex-talk] BaseX and Git versioning of XML at the same

2016-02-10 Thread Enea Parimbelli
e nice GUI and the hassle-free integration with tomcat!) > > Best regards, > Enea Parimbelli > > -- > Dr. Enea Parimbelli > Post-doctoral research fellow > Laboratory for Biomedical Informatics "Mario Stefanelli" > Department of Electrical, Computer and Biom

[basex-talk] BaseX and Git versioning of XML at the same time

2016-02-10 Thread Enea Parimbelli
Dear all, I'm Enea from Italy (working at the university of Pavia) and this is my first email to this list and I hope you'll forgive my dumb question. For one of my projects I was planning to use BaseX to be able to run Xqueries to manipulate a bunch of XMLs that I have on my filesystem (i.e. to

Re: [basex-talk] BaseX and Git versioning of XML at the same time

2016-02-10 Thread Dirk Kirsten
Hi Enea, I think your best fit is to use the WRITEBACK option (see http://docs.basex.org/wiki/Options#WRITEBACK). Instead of creating BaseX databases you then should simply query the files within your filesystem (e.g. by using doc()) - So basically want you propose yourself in question 4. There

Re: [basex-talk] BaseX and Git versioning of XML at the same time

2016-02-10 Thread Eliot Kimber
I'm doing the reverse: using git hooks to reflect XML files managed in git in BaseX, where BaseX serves as a read-only index over the docs. However, it would be possible to use git's remote API (or the API of a git server like GitLab or GitHub) to reflect changes made in BaseX back into your git