Re: [basex-talk] Paged results

2014-08-18 Thread Michael Seiferle
Hi Paul, thanks for this snippet! Have you already seen the built-in min/max functions? max((1,2,3)), min((1,2,3)) Might save both, some bytes and milliseconds, neglectable but nevertheless. :-) Best from Konstanz Michael On 15 Aug 2014, at 22:02, Paul Swennenhuis wrote: Hi all,

[basex-talk] Paged results

2014-08-15 Thread Paul Swennenhuis
Hi all, Triggered by a thread in this forum I decided to make a paged() function that adds paging information to a node-set. It does so by wrapping the node-set in an root element - with a name of your choice - with attributes for total number of nodes, start-index requested page-size,