> Just curious if there is a function that will get the name/filename of the currently executing xquery?
Well, the function has not really been made for that purpose, but try:
system:enable-tracing(true()),
let $output := system:trace() return ...,
system:enable-tracing(false())
system:trace returns an XML fragment with the names and execution times
of all main queries/functions which have been running after tracing was
enabled.
Wolfgang
------------------------------------------------------------------------------
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open