Your question is about extensions in XSLT. About all XSLT processors support specific extension elements and/or functions.
It's not the namespace's magic: the concrete XSLT processor
recognizes extension elements and functions by namespaces. Then the XSLT processor determines whether it has an implementation of the extension or not. That is, for any XSLT processor there is a set of extensions which is supported and which is specific to that concrete XSLT processor.
Refer to the XSLT spec:
http://www.w3.org/TR/xslt#extension ;
Another excellent source (with examples) is Michael Kay's "XSLT Programmer's Reference", 2-nd edition.
Regards,
Armen