swirl
Guide to OmniMark 9   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
 
 
 

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

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:51:21 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.