1. Use XSLT 2.0 which has a tokenize() function
2. With XSLT 1.0, go to
www.exslt.org, find the str:tokenize template, and incorporate it into your code.
3. Or do the same thing by hand: it's a recursive template that uses substring-before() to extract the content before the first comma, and then calls itself to process the substring-after() the first comma.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference