Comments and slight refactoring of the XSLT files