I'm trying to convert a c# object containing a list into XML. The list comes out fine as:
<image>dummy</image>
<image>dummy2</image>
<image>dummy3</image>
and so forth. I want the tags to be unique like:
<image_1>dummy</image_1>
<image_2>dummy2</image_2>
<image_3>dummy3</image_3>
But i'm not quite sure how to get to that result.
Any input is appreciated :)