OK I figured out how to get last, but can I .....

By using:

code:

http://mercury/tamino/dev/permits?_xql=/permit sortby(@ino:id desc)

I am able to retrieve the last node, however this returns all the records, is there a way to limit this to say 20?

Thanks,
Knute Hestness :confused:

Try:

code:

http://mercury/tamino/dev/permits?_xql(1,20)=/permit sortby(@ino:id desc)

Thanks Bill, you are spot on, that works great.

Knute Hestness
:cool: