Constantine,
thanks for the kudos.
/tns:pois/tns:poi[not(preceding-sibling::tns:poi)]
If I get it right, you're trying to select the first tns:poi/ element in your query. This can also be done via
/tns:pois/tns:poi[1]
After all, I still might have a deeper look at the performance of your query, as 30 minutes would of course be terribly slow.
Hope this helps, feel free to ask for more,
Christian BaseX Team ______________________________
So the immediate question is whether this performance is to be expected. If not, what are the obvious things to look at in terms of performance tuning?
Thanks in advance, Constantine
Constantine Hondros | Senior Data Engineer | TomTom Places | constantine.hondros@tomtom.com | +31 (0) 88 245 6239 office | +31 (0) 6 402 14838 mobile | places.tomtom.com
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk