If you generate elements with the right names (that is, namespace plus local name) then the namespace declarations will look after themselves. Your problem is that you wanted the Row element to be in a namespace, but you've generated it to be in no namespace. Its namespace is determined by the instruction used to create it - it won't automatically go in the same namespace as its parent element.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference