diff --git a/xq/put-mentioned-index.xq b/xq/put-mentioned-index.xq new file mode 100644 index 0000000..6c8783c --- /dev/null +++ b/xq/put-mentioned-index.xq @@ -0,0 +1,4 @@ +for $lang in ('en','ru') +return db:put('abaevdict_index', + xquery:eval(xs:anyURI('gen-mentioned-index.xq')), + `mentioned_{$lang}.xml`) \ No newline at end of file diff --git a/xq/restx_dict_cached.xq b/xq/restx_dict_cached.xq index 9166f15..4d0a906 100644 --- a/xq/restx_dict_cached.xq +++ b/xq/restx_dict_cached.xq @@ -49,7 +49,7 @@ declare function page:header($lang as xs:string, $href-other as xs:string) {