|
|||||
Context-translations: using XML/SGML as an intermediate form | |||||
Prerequisite Concepts | Sample Code | Related Syntax |
A context-translation is the most general of the built-in translation types. A context-translation converts data from one form to another, using XML/SGML as an intermediate form. A context-translation can be viewed as an up-translation that produces an intermediate XML/SGML document combined with a simultaneous down-translation of that XML/SGML document.
Patterns in the original document suggest its structure and allow a (possibly partial) conversion to XML/SGML. OmniMark parses the XML/SGML document and, using the XML/SGML parser, corrects structural errors. The final output makes use of the structure discovered by the parser to produce a fully marked-up document, a minimized document, or some other form of data.
A context-translation begins with context-translate
. A context-translation combines the best features of an up-translation and a down-translation with the powerful error recovery and context-tracking capability of the parser.
Prerequisite Concepts Aided translation types |
Sample Code Asynchronous concurrent context-translations: how they work Context translations: a simple example Excel to XML conversion |
Related Syntax context-translate |
---- |