Hi all, hi Christian,
I'm running some xqueries to create and update basex dbs over and over again. They all depend on the basic db 'mydata'. Whenever mydata is updated, I have to update the other dbs.
1. xq-file: db:create('mydata', path/to/my/xml .....
2. xq-file: db:create('searchindex', let $data0 := db:open('mydata') .....
3. xq-file: db:create('indd-xml', let $data0 := db:open('mydata')....
4. and so on
First question:
Is there any way to put the whole process into one command-script? Or is there any kind of other batch-processing?
Second question:
So far I'm creating the db 'mydata' with the GUI. I want to integrate the creating into the batch-processing via XQuery. In generell I know the create-command, but where to put the options: use XInclude, chop-whitespace OFF and Fulltext Language German internal, Stemming OFF, Case Sensitive and Diacritics ON? Can't find it in the docs.
Thanks for any help,
Günter