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. See Aided translation types for help in converting a context-translate program to a process program.

The context-translate keyword flags the program as being a context translation: a program that 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. The keyword must appear first at the beginning of the program.

Specifying the markup type (either with xml or optionally with sgml) will tell the program to use the specified parser at the intermediate stage.