If you have a specific transformation you are having difficulty with, please supply details of the input and output, explain how you are trying to tackle the problem, and explain what output you are getting. Just muttering that you're trying something and it doesn't work will get you nowhere.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference