gem=Tilleur Tilleur Tilleur xquery version '3.0'; let $context := doc($db:context) let $howmany := 1000 let $lemmata := $context//lemma[geo//gem[matches(.,'^Tilleur$','i')]] return <result lem='{count($lemmata)}' atts='{count($lemmata/following-sibling::att)}' shown='{$howmany}'> { for $i in 1 to min(($howmany, count($lemmata))) let $lem := $lemmata[$i] order by $lem/vorm return <entry> {$lem} {$lem/following-sibling::att} </entry> } </result> Tilleur Tilleur Teuledum 817 cop. comm. 12e cop. 13e Xr II 1515, 134 v° Tilietum comm. 12e cop. 13e cant. s. Huberti, Xr II 1515, 168 v° Tieloit 1218 I V 56 Tieloit 1221 P L 9305/4