<customers>
<customer>
<ID>C1</ID>
<FirstName>Jack</FirstName>
<SurName>Wong</SurName>
<Email>jack@hotmail.com</Email>
<Password>081292</Password>
</customer>
<customer>
<ID>C2</ID>
<FirstName>Ashley</FirstName>
<SurName>Rachael</SurName>
<Email>ashley@hotmail.com</Email>
<Password>081292</Password>
</customer>
<customer>
<ID>C3</ID>
<FirstName>Vongola</FirstName>
<SurName>Steve</SurName>
<Email>vongola@hotmail.com</Email>
<Password>081292</Password>
</customer>
</customers>
I have a existing xml showing like that.
I did some research through net, but they all were talking about one element. For example <Email>xxx@hotmail.com</Email>
But what if I want add all those ID tag, FirstName tag, SurName tag, etc into Customer tag and Customer tag into Customers tag?
Thanks for in advance.