Sameer Khan
5 Jan 2012, 9:44 PM
Hi, I want to convert Object data [Records from SQLite DB] to xml format and at the same time i want to add some root element to those records which red by me from sqlite db...Is it possible to do like this...
Ex:Object: {id:1,name:'Raja',location:'India',job:'s/w eng'} from sqlite db.
Root Element is -- Details
XML Should be like this:
<Details>
<id>1</id>
<name>Raja</name>
<location>India</location>
<job>s/w engineer</job>
</Details>
plz help me thanks...
Ex:Object: {id:1,name:'Raja',location:'India',job:'s/w eng'} from sqlite db.
Root Element is -- Details
XML Should be like this:
<Details>
<id>1</id>
<name>Raja</name>
<location>India</location>
<job>s/w engineer</job>
</Details>
plz help me thanks...