better xsl handling