Hi All,
I am getting a list of objects and need to convert the same to XML.
if i have the Object with attributes as below:

Class ABCRecord{
String id;
String name;
...
}

how can i convert the XML to have like :
<abc-records>
  <abcrecord id="100 " name="abcd" />
  <abcrecord id="101 " name="efgh" />
</abc-records>

Pl let me know...
Thanks in advance,
Gopi

Reply via email to