I'm sorry, but you're not making yourself clear. I have no idea how the 9 cells in your output relate to the 3 elements in your input, or what part the XSLT fragment plays in describing the problem.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference