Skip to Content
0
Former Member
Mar 11, 2011 at 08:05 AM

How to concat one element with 0..4 occurence?

15 Views

Hello! I need to concat occurences of one element to one element like this

<a>

<element>1</element>

<element>2</element>

<element>3</element>

<element>4</element>

</a>

to:

<b>

<elementB>1234</elementB>

</b>

How can I do this? Occurence of element is 0..4

Thanks!