improve formatting, fix whitespace handling in XSL files