swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax    
operator  

xmlns-name

 
 

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

    Related Syntax
   #base, #full, #xmlns
   #xmlns-names
   xmlns-change
   markup-identification
 
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:33:48 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.