[basex-talk] Confusing error using GROUP BY

2014-03-22 Thread Charles Duffy
Howdy -- I've run into a somewhat confusing error message using GROUP BY in BaseX 7.8.1, while trying to answer a question on StackOverflow ( http://stackoverflow.com/questions/22585865/grouping-with-counts-in-xquery). Against the database at

Re: [basex-talk] Confusing error using GROUP BY

2014-03-22 Thread Liam R E Quin
On Sat, 2014-03-22 at 20:44 -0500, Charles Duffy wrote: I'd guess: let $speaker := $line/../SPEAKER/text()[1] A list of all text nodes that are the fist child of SPEAKER elements? Try ($line/../SPEAKER/text())[1] if you want the first text node in the list. Maybe you have a SPEAKER element