Support for multiple transformations via XML templates