... ... ...
For the following valid XML
this XSL
gives the desired output of 3.
The selector is qualified with the correct namespace.
You were close in your question and you could drop the namespace and use the following XSL instead: