As part of my DITA link management system, I need to create and update various indexes and data structures whenever specific documents are added or updated.
I was looking for some sort of trigger or event handler by which I would register an XQuery function and the system would call it on add, update, or delete, but I didn't see anything like that in the docs.
Since my updates are, in my case, being driven by git commit hooks I could have the commit hook call a function following updates and pass that function the list of added, updated, and deleted docs. But that would not support the case where documents were loaded by some other route.
Is such a mechanism available?
Thanks,
Eliot
————— Eliot Kimber, Owner Contrext, LLC http://contrext.com