Hello!

So the idea is to -- via some automatic process, so "the command line" -- load a content set into BaseX and then run some arbitrary list of queries on that content set, returning an aggregated report.

It's important that it's easy to add a query; we expect to be adding queries as we find new ways for the content to be inappropriate.  (We're guaranteed it's valid; we are not guaranteed it's sensible, in the "and just how do you expect to publish forty seven levels of nested lists?" sense.)

My first thought is to have a directory of individual queries and have the main query walk through them with xquery:eval(), but there might be a better way.

Anyone got any suggestions?

Thanks!
Graydon