summaryrefslogtreecommitdiff
path: root/sandbox/rstdiff/tests/simple/expected/sectionSequence.xml
blob: 2b09382b550ba9754dea2b42c1b2486f9ffe2c61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="utf-8"?>
<!-- Generated by Docutils 0.8 -->
<document source="input/sectionSequence.old.rst =&gt; input/sectionSequence.new.rst">
    <paragraph>
        Some initial text.
    </paragraph>
    <section classes="change-removed" ids="removed-section" names="removed\ section">
        <title>
            Removed section
        </title>
        <paragraph>
            Some text in removed section 
            <footnote_reference auto="1" ids="id1" refid="id2">
                1
            </footnote_reference>
            .
        </paragraph>
        <footnote auto="1" backrefs="id1" ids="id2" names="1">
            <label>
                1
            </label>
            <paragraph>
                Footnote to modify id counter.
            </paragraph>
        </footnote>
    </section>
    <section dupnames="constant\ section" ids="constant-section">
        <title>
            Constant section
        </title>
        <paragraph>
            Some text in constant section.
        </paragraph>
        <section ids="changing-sub-section" names="changing\ sub-section">
            <title>
                Changing sub-section
            </title>
            <paragraph classes="change-replaced">
                To be changed sub section text.
            </paragraph>
            <paragraph classes="change-replacement">
                A different content in a sub-section.
            </paragraph>
        </section>
    </section>
    <section ids="repeated-section-titles" names="repeated\ section\ titles">
        <title>
            Repeated section titles
        </title>
        <paragraph>
            Now testing sections with repeated section titles. This leads to
different ids.
        </paragraph>
        <section dupnames="constant\ section" ids="id3">
            <title>
                Constant section
            </title>
            <paragraph classes="change-replaced">
                Repeat this.
            </paragraph>
            <paragraph classes="change-replacement">
                Repeated but different.
            </paragraph>
        </section>
        <section dupnames="constant\ section" ids="id4">
            <title>
                Constant section
            </title>
            <paragraph classes="change-replaced">
                Once again.
            </paragraph>
            <paragraph classes="change-replacement">
                Again.
            </paragraph>
        </section>
    </section>
</document>