xmlns-name

operator

Return type:
String
Returns:
Returns the namespace (URI) associated with the specified element.
Syntax
xmlns-name (of element-expression)?
    


Purpose

xmlns-name returns the namespace name (that is, the URI) associated with an element. When the element has no namespace, it returns a zero-length string. It is syntactically similar to the name of syntax item when the latter is applied to an element-expression. When no of clause appears, it returns the namespace name of the current element.

Example


     do when xmlns-name of parent = "http://www.omnimark.com/omtbl.xml"
        ; ...
     done
or
    output xmlns-name of ancestor "title"