This is how I need the format in the xml file for anyone still out there, looking for something to do...
<chapter name="Chapter 1">
<header>
Chapter header
</header>
<section name="section 1">
<sub-section name="section 1.1">
some text here
<sub-section name="section 1.1.1">
some text here
</sub-section>
<sub-section name="section 1.1.2">
some text here
</sub-section>
<sub-section name="section 1.1.3">
some text here
</sub-section>
</sub-section>
<sub-section name="section 1.2">
some text here
</sub-section>
<sub-section name="section 1.3">
some text here
</sub-section>
</section>
</chapter>
<chapter name="Chapter 2">
<header>
Chapter header
</header>
<section name="section 1">
<sub-section name="section 1.1">
some text here
<sub-section name="section 1.1.1">
some text here
</sub-section>
<sub-section name="section 1.1.2">
some text here
</sub-section>
<sub-section name="section 1.1.3">
some text here
</sub-section>
</sub-section>
<sub-section name="section 1.2">
some text here
</sub-section>
<sub-section name="section 1.3">
some text here
</sub-section>
</section>
</chapter>
|