What have you tried, how did it fail, where did you get stuck reading the documentation (or reading your Wrox reference book)?
There are lots of people happy to help you when you get stuck, but not to provide a free code-writing service.
And telling us it's urgent doesn't help. When you're asking volunteers to help, don't create a pressure.
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference