Several possible reasons, but I suspect that select="n/a" should be select="'n/a'", unless you really meant to use the path expression child::n/child::a.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference