unit tests and refactoring. Xslt writer can be used on the commandline.