Yes, this works! Thanks, Giuseppe
Universität Leipzig Institute of Computer Science, Digital Humanities Augustusplatz 10 04109 Leipzig Deutschland E-mail: [email protected] E-mail: [email protected] Web site 1: http://www.dh.uni-leipzig.de/wo/team/ Web site 2: https://sites.google.com/site/giuseppegacelano/ > On Sep 19, 2017, at 5:48 PM, Christian Grün <[email protected]> wrote: > > for $u in db:open("db1")/text/s/t > group by $k := $u/f || "#" || $u/@o > where db:open("db2")/text/line[text() = string($k)] > let $n := count($u) > order by $n descending > return $k || " " || $n

