You haven't explained yourself very clearly (start by finding the shift key on your keyboard, a few capital letters can help a lot, whereas multiple question marks help very little). I think you've almost certainly not understood that XSLT is a declarative, function language and not a procedural one, and that it needs a different approach if your previous experience is with procedural languages. It's worth standing back and explaining your requirements, rather than trying to fix your code.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
|