I use this code to create the xml file
dataset1.writexml(FilePath);
the xml file can be changed
when the xml file is like below it has these table:
Person,Phones,Emails,Webs,Fax,Mobile,House,Email,Web
{ Emails connects to Email},{ Webs connects to Web } AND { Phones connects to fax,house and mobile }
<pre lang="xml">"xml"><?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Persons>
<Person Personid="10">
<firstname>hi</firstname>
<lastname>bye</lastname>
<Birthday>1980 </Birthday>
<Phones>
<Fax>044</Fax>
<Mobile>055</Mobile>
<House>011</House>
<Fax>04</Fax>
<Mobile>05</Mobile>
<House>01</House>
</Phones>
<Emails>
<Email>Email1@site.com</Email>
<Email>Email2@site.com</Email>
</Emails>
<Webs>
<Web>web1.com</Web>
<Web>web2.com</Web>
</Webs>
</Person>
</Persons>
I want to always have these tables
is there any way?