swirl Guide to OmniMark 6   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
  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
   #xmlns-names
   xmlns-name
   xmlns-change
   #base, #full, #xmlns
 
 
----

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

OmniMark 6.5 Documentation Generated: December 23, 2002 at 6:25:30 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-2002.