swirl
Guide to OmniMark 7   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax    
declaration/definition  

markup-identification

 
 

Syntax

  declare markup-identification (#base | #full)


Purpose

Use the markup-identification declaration to change the default interpretation of element names in element rule headers, and element context inquiries. The default interpretation is #full. A markup-identification declaration can specify either #full or #base.

A markup-identification declaration affects element names which follow, up to the next markup-identification declaration, or to the end of the program. #xmlns is not a legal value, because element names in element rule headers may not be prefixed by #xmlns.

Example:


    declare markup-identification #base

    element x
      do when parent of ancestor z is foo
         ...
       done
  is equivalent to:

    element #base x
      do when parent of ancestor #base z is #base foo
       ...
       done

    Related Syntax
   #base, #full, #xmlns
   #xmlns-names
   xmlns-name
   xmlns-change
 
 
 

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

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

Copyright © Stilo Corporation, 1988-2005.