Hi An,
the triggers feature is on our todo list, but not implemented yet. Suggestions are welcome. As the update functions don't return any results, you could instead write the modified documents into a file, like in this example using the xmark.xml file:
for $n in //regions where file:write("/Desktop/test", base-uri(//regions)) return insert node <test/> into $n
So you get a list of all modified documents in the database.
-- Andreas
Am 05.04.2011 um 16:50 schrieb Truong An Nguyen:
Hi,
Does Basex have trigger? If not, can you please show me how to recognize which documents are changed after the execution of an xquery update? Thanks.
Cheers, An _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk