applied toByAsString method to xslt