I need to get the first x number of nodes in a list. The list looks like: <root><Files>file1</Files><Files>file2</Files>....</root>
How to create the predicate so that I can get just the first x number of nodes in a list? I've tried [position()<=10] where 10 is the number of nodes desired.