Somewhere in your stylesheet there is code that is generating this whitespace, but you haven't shown it.
It's better to show the HTML output as it appears in a text editor, not as it appears in the browser. That makes it easier to see what's going on.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference