Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

fn:namespace-uri

Return namespace URI from node.


Syntax

fn:namespace-uri(node $node) => anyURI
fn:namespace-uri => string

Top of page

Description

This function returns the namespace URI of a node if it is qualified by a namespace. If $node is present, it returns its namespace URI, otherwise it returns the namespace URI of the context node. If the respective node is not qualified, the function returns the empty string.

Top of page

Argument

$node

node

Top of page

Examples

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page