Hi Cerstin, you can just use it as input for further xquery queries, like this: index:facets("db", "flat")//element[@name = "selected"]/entry[text() = "yes"]/@count/data() so you get the total number of entries with "yes". -- Andreas Am 01.10.2012 um 17:16 schrieb Mahlow Cerstin:
Hi Andreas,
Am 01.10.2012 um 16:52 schrieb Andreas Weiler:
if you are just interested in the count of "yes" or "no", you could also try the function index:facets("db", "flat").
This returns a document-node structure, how do I access the information I am interested in?
Best regards
Cerstin -- Dr. phil. Cerstin Mahlow
Universität Basel Deutsches Seminar Nadelberg 4 4051 Basel Schweiz
Tel: +41 61 267 07 65 Fax: +41 61 267 34 40 Mail: cerstin.mahlow@unibas.ch Web: http://www.oldphras.net
_______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk