swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
  Related Syntax   Related Concepts  
rule type   sgml-comment    

Syntax

  sgml-comment condition?
     action+


Purpose

A rule that is performed whenever an SGML comment is found in an SGML or XML document and the condition (if any) is met. Note that this rule is deprecated, and the markup-comment rule has been introduced to replace it.

The following statements apply to sgml-comment rules:

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

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

  sgml-comment when element is p
     output " (note: %c)"
  sgml-comment when element isnt p
     output "   note: %c%n"

    Related Syntax
   suppress
   translate
   markup-comment
 
Related Concepts
   XML/SGML comments and marked section boundaries
 
----

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

Generated: August 11, 2000 at 3:07:50 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.