Fork me on GitHub

Change the extension of the generated files

The following configuration snippet would transform all files in the directory src/main/xml by applying the stylesheet src/main/stylesheet.xsl. The created files would have the extension .fo, rather than .xml.

                <fileMapper implementation="">

Btw, the same could be achieved the much more powerful and generic RegExpFileMapper, which you find explained in more detail in another example.