You'll need to provide a lot more detail, and you're more likely to get help on a list or forum specific to the product you're using (is this Microsoft's System.Xml.Xsl? The Saxon product on .NET has a method of the same name).
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference