get applyXSL almost working again