Setting the environment for XSLT transformation