>Your transform is not well-formed
Well spotted, Joe, I was struggling with that one!
I would strongly recommend developing XSLT stylesheets in a free-standing environment (for example, Stylus Studio, XML Spy, oXygen, or Kernow with Saxon) before you deploy them in a web server or web browser. You will find the diagnostics much more helpful.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference