[xquery-talk] A walk down Sesame St - counting for simpletons

Andrew Welch andrew.j.welch at gmail.com
Tue Apr 8 08:43:33 PDT 2014


> (collection('myColl')//elem,collection('myColl2')//elem)/count(.)

^^^ that constructs a sequence of <elem>s, and then supplies each one
to the count() function... so it will just a return a load of 1s.

Bonney dee doosh, ala quet de mer, rodders.

-- 
Andrew Welch
http://andrewjwelch.com


More information about the talk mailing list