Hi Eliot, Am 17.05.2022 um 16:34 schrieb Eliot Kimber:
This needs to be done in an updating function or module as a separate transaction.
If you’re looking for general code on managing sequences of transactions using BaseX’s jobs feature, I created this github project:
This is a distant relative of my utils module https://github.com/acdh-oeaw/vleserver_basex/blob/main/vleserver/util.xqm . Would you be interested in developing such functions together? Best regards -- Mag. Ing. Omar Siam Austrian Center for Digital Humanities and Cultural Heritage Österreichische Akademie der Wissenschaften | Austrian Academy of Sciences Stellvertretende Behindertenvertrauensperson | Deputy representative for disabled persons Wohllebengasse 12-14, 1040 Wien, Österreich | Vienna, Austria T: +43 1 51581-7295 omar.siam@oeaw.ac.at |www.oeaw.ac.at/acdh