dividing xslt to main and functions sheet