forked from abaevdict/abaev-basex
handle footnotes correctly, hide internal notes
This commit is contained in:
parent
0e7fb74acf
commit
9151b9eb32
4 changed files with 59 additions and 12 deletions
|
@ -16,8 +16,8 @@ declare %rest:path("{$lang}/entries/{$id}")
|
|||
%output:html-version('5')
|
||||
function entries:entry($lang as xs:string, $id as xs:string, $query as xs:string?) {
|
||||
if (count($query) = 0) then
|
||||
(: doc(`abaevdict_{$lang}/html/{$id}.html`) :)
|
||||
abv-m:make-html(doc(`abaevdict_{$lang}/xml/{$id}.xml`),$lang)
|
||||
doc(`abaevdict_{$lang}/html/{$id}.html`)
|
||||
(: abv-m:make-html(doc(`abaevdict_{$lang}/xml/{$id}.xml`),$lang) :)
|
||||
else
|
||||
let $xml := doc(`abaevdict_{$lang}/xml/{$id}.xml`)/tei:entry[1]
|
||||
let $marked := ft:mark(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue