Hi Jason,
I tried it many times but I was unable to get a nested repeat running.
The first repeat is working, but the second not.
For example:
I have this data structure
- Code: Select all
<data>
<element-list>
<element>
<name>element1</name>
<child-list>
<child>
<name>child11</name>
</child>
<child>
<name>child12</name>
</child>
</child-list>
</element>
<element>
<name>element2</name>
<child-list>
<child-list>
<child>
<name>child21</name>
</child>
<child>
<name>child22</name>
</child>
</child-list>
</child-list>
</element>
</element-list>
</data>
The xpath of the first repeat is
/data[1]/element-list[1]/element
which iterates like expected over all element notes
How do I have to set the xpath of the second repeat if I would like to print out every child of an element. So that the result looks like
- Code: Select all
element1
child11
child12
element2
child21
child22
Im doing it all with the Word Add In in Word 2016