FerrisUML wrote:
Quote:
I've loaded a schema into a dataset and have begun populating the
tables with data from a sql query. Problem is that when I use
writexml(), the format of the xml fails validation against the XSD
file. Whats happening is that the writexml() method doesn not
maintain the order of the XSD file, but instead lists the simple types
above the complex types. The problem isn't with the nested elements
themselves (as they do appear correct), but how they're ordered.
Is there anyway to have writexml maintain the order as specified in my
XSD file? Thanks in advance for any assistance with this issue. |
Which version of the .NET framework are you using? Can you post a
minimal code sample (schema and .NET code) that allows us the reproduce
the issue?
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/