swirl
Guide to OmniMark 8   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 ] [ 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.