Hi,
I've a schema which mpas quite good to a tabular datastructure, so I feed a
dataset with it without problems.
the problem is that I've an xml element that is correctly mapped as column
of a table but it appears after a child table.
In other words it's
<table1>
<table2>
<field1child>x</field1child>
<field2child>x</field1child>
</table2>
<field1master>x</field1master>
<table1>
instead of
<table1>
<field1master>x</field1master>
<table2>
<field1child>x</field1child>
<field2child>x</field1child>
</table2>
<table1>
I load the xml schema into the dataset and then load the xml data. so far so
good.
If now I output the xml from the dataset the
<field1master>x</field1master> is brought up before table2. , (the same
apply if I query the dataset underlying xml schema)
Of course this resulting XML does not validate against the original schema.
is there any hope to have the xml schema preserve the element order ?
thank for your help
--
sa******@sabbasoft.com
MTS - COM+ - VBCOM - Enterprise Services - Security FAQ
..NET & COM+ books selected list
http://www.sabbasoft.com
"Moving fast is not the same as going somewhere."