Are you sure that your source XML document doesn't contain a default namespace declaration
xmlns="something"
which would move <Type> into a different namespace?
(people often snip the very thing that's causing the trouble, because they didn't realise it was important...)
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference