If it's not working, then let's work out why before we ask another question. What was your input, what was your stylesheet, and what was your output. If by "not working" you mean there was an error message, then what was hte error message?
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference