You have declared xmlns="thing" in your source doc, so all your names are in a namespace. In the stylesheet you need to declare xmlns:x="thing" and match the names as select="x:local-name" or match="x:local-name".
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference