forked from abaevdict/abaev-basex
fixed new html gen
This commit is contained in:
parent
cd513bd796
commit
117dead94a
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ declare %rest:path("{$lang}/entries/{$id}")
|
||||||
if (count($query) = 0) then
|
if (count($query) = 0) then
|
||||||
doc(`abaevdict_{$lang}/html/{$id}.html`)
|
doc(`abaevdict_{$lang}/html/{$id}.html`)
|
||||||
else
|
else
|
||||||
let $xml := doc(`abaevdict_{$lang}/xml/{$id}.xml`)
|
let $xml := doc(`abaevdict_{$lang}/xml/{$id}.xml`)/tei:entry[1]
|
||||||
let $marked := ft:mark(
|
let $marked := ft:mark(
|
||||||
xquery:eval(
|
xquery:eval(
|
||||||
`declare namespace tei = "http://www.tei-c.org/ns/1.0";
|
`declare namespace tei = "http://www.tei-c.org/ns/1.0";
|
||||||
|
|
Loading…
Add table
Reference in a new issue