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

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:

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
   sgml-comment
   suppress
   translate
 
Related Concepts
   XML/SGML comments and marked sections
 
 

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.