You're right, this is the wrong forum. If you don't know what output you want your stylesheet to produce then we can't help you write it.
You'll need to find someone who knows Excel Spreadsheet XML very deeply to get a better answer than you have been able to find by experiment.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference