context-translate

declaration/definition

Syntax
context-translate (with (sgml | xml))?


Purpose

The use of context-translate is deprecated, but is supported for compatibility with earlier versions of OmniMark.

A keyword that indicates the following program is a context-translation. A context-translation program converts one form of document to another, through an intermediate SGML or XML stage. It can be thought of as an up-translation followed by a down-translation.

Specifying the markup type (either XML or SGML) will tell the program to use the specified parser at the intermediate stage.