OmniMark Code - 2012-05-31

The purpose of omxmltextdeclaration is to determine the text encoding of an input, and dynamically insert a filter, which allows the processing program to assume UTF-8 input, regardless of the actual input encoding.

An example of its use is shown in the test program, tests/test.xom.