fixed new html gen

This commit is contained in:
Oleg Belyaev 2025-03-30 00:03:45 +03:00
parent cd513bd796
commit 117dead94a

View file

@ -18,7 +18,7 @@ declare %rest:path("{$lang}/entries/{$id}")
if (count($query) = 0) then
doc(`abaevdict_{$lang}/html/{$id}.html`)
else
let $xml := doc(`abaevdict_{$lang}/xml/{$id}.xml`)
let $xml := doc(`abaevdict_{$lang}/xml/{$id}.xml`)/tei:entry[1]
let $marked := ft:mark(
xquery:eval(
`declare namespace tei = "http://www.tei-c.org/ns/1.0";