Hi,
I created a XSD shemas defenition for two tables that has parent child
relation. I create the shemas by using XMLSpy. The relation is well deffine
in xsd file.
I generated a Types Dataset form that xsd file by using XSD utilty of .Net
framework.
The data relation seems to be well define, a DataRalation is add to the
typed dataset source code..
But if I create an XMLDataDocument from that dataset the parent child
relation is not respected in the generated XML.
ex:.
It must Get this.
<table1>
<field1></field1>
<field2></field2>
<field3></field3>
<table2>
<field1></field1>
<field2></field2>
</table2>
</table1>
But a get That
<table1>
<field1></field1>
<field2></field2>
<field3></field3>
</table1>
<table2>
<field1></field1>
<field2></field2>
</table2>
What can be the problem with the typed dataset that make the datarelation
not respected?
Regards
Alain Martineau
Publishing Business System