I need to maintain some old XSL code and I've discovered that there's a lot of duplication in the XSL files. It looks like there isn't an easy include/import function for XSL which would allow me to move the code to a different file and just include it when needed.
This sounds like it could be done with Model Driven Development tools but I've only heard about it, not actually used it and it is probably overkill for the job.
Is there a simple preprocessor that can be called from Ant which has include/import support?