<Master.xml>
========================================
Master document includes the following:
1. <insert child1.xml content here>
2. <insert child2.xml content here>
========================================
<child1.xml>
========================================
Terms
a. Term 1.
b. Term 2.
========================================
<child2.xml>
========================================
Conditions
a. Condition 1.
b. Condition 2.
========================================
I used cfChunk to merge the two child documents into the master
document. Each cfChunk is contained in a paragraph and is preceded by
a w:pPr node, which stores list information of the paragraph. Each
cfChunk also contains the styles, fonts, lists and the body node of a
child document.
========================================
<wordDocument>
<w:styles/>
<w:fonts/>
<w:lists/>
<w:body>
<w:p>Master document includes the following:</w:p>
<w:p>
<w:pPr/>
<w:cfChunk>
<w:styles/>
<w:fonts/>
<w:lists/>
<w:body/>
</cfChunk>
</w:p>
<w:p>
<w:pPr/>
<w:cfChunk>
<w:styles/>
<w:fonts/>
<w:lists/>
<w:body/>
</cfChunk>
</w:p>
</body>
</wordDocument>
========================================
The bad news was that the result document couldn't be opened in word
2003 until I removed the w:pPr node from the document. However, the
side effect was that the numbering in the master document was gone as
well. Here is the result document:
========================================
Master document includes the following:
Terms
a. Term 1.
b. Term 2.
Conditions
a. Condition 1.
b. Condition 2.
========================================
I am wondering what can I do to preserve the numbering of the master
document and also add some "magic" indentation to the numbered lists
from the child documents so that the result document would look like
the following:
========================================
Master document includes the following:
1. Terms
a. Term 1.
b. Term 2.
2. Conditions
a. Condition 1.
b. Condition 2.
========================================