Improve coding style of XSL transform