From 76eda93cbda59a1bd51eca9b1b13f91a5ed6f9ff Mon Sep 17 00:00:00 2001 From: Peter Stadler Date: Tue, 24 Sep 2024 10:36:01 +0200 Subject: [PATCH] fix example --- docs/xquery2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/xquery2.md b/docs/xquery2.md index 30c994f..0d3084d 100644 --- a/docs/xquery2.md +++ b/docs/xquery2.md @@ -60,7 +60,7 @@ declare function ess:letter2tr($letter as document-node()?) as element(xhtml:tr) let $sender := ($letter//tei:correspAction[@type='sent']/tei:persName)[1] => normalize-space() let $addressee := ($letter//tei:correspAction[@type='received']/tei:persName)[1] => normalize-space() return - if($sender or $addressee or $date) + if($sender or $addressee) then {$id}