Привет всем, я очень извиняюсь, с программированием знаком на уровне новичка, но все же. В институте задали ужас какой то. К сожалению текст на английском.
2. Task definition
The task involves writing the converter code that will take the input file and produce the output file. Both files describe the textual document that can contain various text style modifiers affecting the presentation (Bold, Italic, text color, etc…). The set of style modifiers supported by both input and output file formats is same; however, the structure is completely different.
2.1. Input file format definition
The input file is a sequential stream of text that may contain style modifiers which define the change of style for the text following the modifier.
Example:
The\B quick\I brown\B fox \COLOR=RGB(255,0,0)jumps\COLOR=RGB(0,255,0) over\COLOR the\COLOR lazy dog.
2.2. Output file format definition
The output file is an XML document. The output document must be well formed [XML].
Since there is certain freedom of valid output file variations, the following two examples illustrate what will be considered as better (more efficient) and worse (less efficient) result files.
вот такое надо получить
2.2.1. Efficient result file