Can any XQuery scripts be referenced by known file names at such places?
Yes, you can e.g. use xquery:eval for that purpose [1]. The result can again be bound to a variable and further processed. It can also be written to a file, sent to any remote source, an SQL database, or wherever you need it.
Thanks for your hints.
You can regard XQuery as full information processing language, which includes database core features that resemble SQL.
I am trying also to become more familiar with the capabilities of the programming language “XQuery” (and corresponding software libraries).
I achieved some data processing results together with mutable data structures. Now I am looking more at the construction of data structures by the means of functional algorithms. I would appreciate further advices in this design area.
How do you think about to perform queries by grouping data from arrays (or maps) besides the extraction of contents from XML subtrees?
Regards, Markus