swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax   Related Concepts  
rule  

markup-comment

 
 

Syntax

markup-comment condition?
   action+
    


Purpose

A rule that is performed whenever an SGML or XML comment is found in an SGML or XML document and the condition (if any) is met.

The following statements apply to markup-comment rules:

It is an error for more than one markup-comment rule to be selected for an SGML or XML comment. This means that:

This is an example of markup-comment rules with conditions:

  markup-comment when element is "p"
     output " (NOTE: %c)"
  
  
  markup-comment when element isnt "p"
     output "   NOTE: %c%n"
          

    Related Syntax
 
Related Concepts
 
 

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.