declaration/definition
up-translate (with (sgml | xml))?
The use of up-translate is deprecated, but is supported for compatibility with earlier versions
of OmniMark. See Aided translation types for help in converting a up-translate program
to a process program.
The up-translate keyword flags the program as being an up translation: a program that uses
find rules to convert an unstructured input to either SGML or XML. The generated SGML or XML is validated
by feeding it through the markup parser; in addition this enables the program to use the markup context to guide
the 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 for validation.