Code Generation Tool implemented in XSL