xmlns-name

operator

Return type: String
Returns:       The namespace (URI) associated with an element.

Syntax
xmlns-name (of element-qualifier)?


Purpose

This returns the namespace name (ie 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 (or at least the part of that that takes an "element-qualifier" as an argument). When no "of" clause appears, it returns the namespace name of the current element.

Example


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