You say that you've declared all the required namespaces, but you provide no evidence of it; the fact that you're not retrieving the attribute suggests strongly that you have declared the xsi prefix but have bound it to the wrong URI.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference