I had a quick look through an XSL-FO tutorial to familiarize myself with the product. I only saw elements that described how the output should be organized. I didn't see any elements that
transformed the data. I think if you need to
transform the data before formatting it, then XSL
T is the tool
you should use for that.