Is there a way in XQuery to do something like a tail()
function?
What I m trying to accomplish is to get the contents of a file (using "xdmp:filesystem-file($path)") and then display only the last 100 lines. I can t seem to find a good way to do this. Any ideas?
Thank you.