Dear Gilles,

> I’m trying to use restxq to generate web report from a DB and I just don’t
> understand where to put the xqueries in the xqm files.

you can put your queries in any *.xqm file located in the http root directory.

> http://httpserverIP:8080/BaseX72/restxq/
> showing the page:
> Welcome to the RESTXQ Service

As you have probably seen, this page also contains some XQuery
functions, which you can modify and extend.


> But I can’t find the way to have an xqm page that queries the above DBs
> (logs or stream).

Just use db:open(...) inside such a function (in other words, write
usual XQuery code, and paste it into the RESTXQ functions).

Hope this helps,
Christian
_______________________________________________
BaseX-Talk mailing list
[email protected]
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

Reply via email to