XSLT » XPath Core Functions » namespace-uri

Syntax:
uri = namespace-uri(node)

The namespace-uri function returns a string that is the namespace URI of the node cited in the optional node argument. If the argument is omitted, the default is to find the namespace URI of the context node.