Literals
Literals are useful when you want to quote text including tags and indentations, for example in a computer course.
Some literal code:
<question mch1> <text>What is the square root of 81 ?</text> <answer>27</answer> <answer>It hasn't got one</answer> <answer evaluation="correct">9</answer> <answer>-3</answer> <feedback evaluation="correct">That's right.</feedback> <feedback>No - try again.</feedback> </question>
Normally this would generate a selftest question, but because it is formatted as cgLiteral the code is displayed instead.
To implement literal text apply the cgLiteral style.
The angled bracket characters (usually used as less than and greater than signs) have a special meaning when the document is exported to XML. Normally you have to prefix them with a tilde sign ( ~ ) but this is not necessary inside Literal formatting.