swirl
Guide to OmniMark 7   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 ] [ LEGACYLIBRARIES ] [ ERRORS ]

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:46:08 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.