Avatar

Level 10

Hi,

what you see in the XML data is exactly the way XML works.

Repeated elements simply use the same namings and not any kind if indicator.

You can format your XML in the way you want using a XSLT stylesheet, but this isn't that easy to learn.

So, you also can add a second hidden text field to your repeating subform that will store the index of the repeated subform.

Just add a script in its calculate event.

this.rawValue = this.parent.index + 1;