Hi Team,
We would like to read the parent/ancestor of the List Level Number for second level onwards. For example, if the numbering list tree is given as below, then while parsing the tree in docx, we need the immediate parent when we reach to any child node.
Example Tree:
1. List-1
2. List-2
2.1 List-2a
2.2 List-2b
2.3 List-2c
2.3.1 List-2c-a
2.3.2 List-2c-b
3. List-3
Scenario: When we reach at 2.2 "List-2b", we need immediate parent text as "List-2". Similarly, in case of 2.3.2 "List-2c-b", we would need to have the text of its parent i.e. "2.3 List-2c".
Please advice.