initial commit

This commit is contained in:
Oleg Belyaev 2025-03-21 14:14:03 +03:00
parent cee3efab31
commit 71219733bd
31 changed files with 9242 additions and 0 deletions

10
xq/gen-lng-html.xq Normal file
View 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`)