XML writer problem

Hi

I had a list of names in a text file like

Names

A

B

C

D

E

And I need to generate a format like this

I am new to pipeline pilot and I tried various options like transpose, but not successful.

Can any one quickly help me?

Thanks,

Ganesh.