forked from abaevdict/abaev-basex
initial commit
This commit is contained in:
parent
cee3efab31
commit
71219733bd
31 changed files with 9242 additions and 0 deletions
10
xq/gen-lng-html.xq
Normal file
10
xq/gen-lng-html.xq
Normal file
|
@ -0,0 +1,10 @@
|
|||
declare namespace tei = "http://www.tei-c.org/ns/1.0";
|
||||
declare namespace abv = "http://ossetic-studies.org/ns/abaevdict";
|
||||
|
||||
import module namespace abv-m = 'http://ossetic-studies.org/ns/abaevdict-mod' at './abv-mod.xqm';
|
||||
|
||||
let $langs := ('ru', 'en')
|
||||
|
||||
for $lang in $langs
|
||||
for $doc in abv-m:make-html(collection(`abaevdict_{$lang}/xml`), $lang)
|
||||
return db:put(`abaevdict_{$lang}`, $doc, `html/{$doc/article[1]/@id}.html`)
|
Loading…
Add table
Add a link
Reference in a new issue