I have a xml as below that I\'d like to copy n times while incrementing one of its element and one of its attribute.
This transformation:
when applied on the provided XML document:
John 1
produces the wanted results:
John 1 John 2