| 1 | |
| 2 | <!DOCTYPE doc [ |
| 3 | <!ENTITY xx "<p>some text some text some text.</p>" > |
| 4 | <!ENTITY xxx "&xx;" > |
| 5 | ]> |
| 6 | |
| 7 | <doc xmlns="http://www.dcarlisle.demon.co.uk/sec"> |
| 8 | |
| 9 | <tt>lll</tt> |
| 10 | <sec> |
| 11 | <head>This+&<> <tt>code 111 {\tt 222} 333</tt></head> |
| 12 | <p>The first section.</p> |
| 13 | </sec> |
| 14 | |
| 15 | <sec> |
| 16 | <head>This+<![CDATA[&<>]]> <tt>code 999 {\tt 222} 333</tt></head> |
| 17 | <p>The second section.</p> |
| 18 | </sec> |
| 19 | |
| 20 | |
| 21 | |
| 22 | <p>abc+xyz q (1:& 2:&)</p> |
| 23 | |
| 24 | &xxx;&xxx;&xxx;&xxx;&xxx; |
| 25 | &xxx;&xxx;&xxx;&xxx;&xxx; |
| 26 | |
| 27 | <sec> |
| 28 | <head>Some utf8 [áéíóú] and some ascii [^^c3^^a1^^c3^^a9^^c3^^ad^^c3^^b3^^c3^^ba]</head> |
| 29 | <p>and some more áéíóú</p> |
| 30 | </sec> |
| 31 | |
| 32 | |
| 33 | &xxx;&xxx;&xxx;&xxx;&xxx; |
| 34 | &xxx;&xxx;&xxx;&xxx;&xxx; |
| 35 | |
| 36 | <sec> |
| 37 | <head>The End</head> |
| 38 | <p>The last section.</p> |
| 39 | </sec> |
| 40 | |
| 41 | <math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 42 | <msub><mrow><mi>a</mi> <mo>+</mo> <mi>b</mi></mrow> <mn>2</mn> </msub> |
| 43 | </math> |
| 44 | |
| 45 | |
| 46 | <math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 47 | <mroot><mrow><mi>xxx</mi> <mo>-</mo> <mi>b</mi></mrow> <mn>3</mn> </mroot> |
| 48 | </math> |
| 49 | |
| 50 | |
| 51 | <math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 52 | <msubsup> |
| 53 | <mi>xxx</mi> |
| 54 | <mrow><mi>j</mi><mo>,</mo><mi>k</mi></mrow> |
| 55 | <mn>4</mn> |
| 56 | </msubsup> |
| 57 | </math> |
| 58 | |
| 59 | |
| 60 | <math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 61 | <mfenced> |
| 62 | <msup> |
| 63 | <mi>xxx</mi> |
| 64 | <mn>4</mn> |
| 65 | </msup> |
| 66 | </mfenced> |
| 67 | |
| 68 | <mfenced open="{" close="]" > |
| 69 | <msup> |
| 70 | <mi>xxx</mi> |
| 71 | <mn>4</mn> |
| 72 | </msup> |
| 73 | </mfenced> |
| 74 | |
| 75 | </math> |
| 76 | |
| 77 | </doc> |