I am looking to reverse in XSL/FO a for-each loop.
for instance the xml
Yes, Alexander is right - forgot the data-type though:
(without that, you'll run into sorting problems with numbers over 9)