Sounds like you have a group by position problem. You might try some advice from Jeni Tennison in the following link: http://www.biglist.com/lists/xsl- list/archives/200101/msg00202.html
Also, in case you don't know, you might want to consider searching the XSL-list in the future for these more challenging XSLT questions. They're always tough the first time, and you can be sure lots of people have bumped into them by now. http://www.mulberrytech.com/xsl/xsl-list HTH, Diana --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>