fds=294 294 fds.294 xquery version '3.0'; let $context := doc($db:context) let $howmany := 1000 let $atts := $context//att[(bron/descendant::*/@fonds = 'fds.294')] return <result lem='{count($atts/preceding-sibling::lemma)}' atts='{count($atts)}' shown='{$howmany}'> { for $i in 1 to min(($howmany, count($atts))) let $att := $atts[$i] group by $lem := $att/preceding-sibling::lemma order by $lem/vorm return <entry> {$lem} {$att intersect $atts} </entry> } </result> Degese onb. ± Nijmegen Degese 1196 Nij Ewijk Ewijk Ewic 1196 Nij Lent Elst Lente 1196 Nij Nijmegen Nijmegen Nouimagum 1196 Nij Weurd Beuningen Werthe 1196 Nij Woezik Wiechen Wonseke 1196 Nij