how can i get the returned value of count function in my application?
I got the nullpointerException at the line
TResponse tresp=accessor.xquery ("count(for $q in input()/organisation return $q)") ; String i=tresp.getQueryContentAsString();
the variable i has a value"xq:value/"
I have tested the xquery expression in x-plorer and got the right returned value.
I have no idea, why it doesn’t work in my application.
Thanks in advance,