G
Guest
Hi Newsgroup,
I have a really suspicious problem:
I want to write the data of a Dataset to a XML-File, wich should include
then schema of the data.
For this I'm using the method DATASET.WriteXml("FILENAME" + ".xml" ,
System.Data.XmlWriteMode.WriteSchema).
As result I get two files:
a) XML-File : FILENAME.xml, of course containing the data and a reference to
b)
b) XSD-File : FILENAME_app1.xsd , containing the schema.
When I'm changing the overloaded WriteXml-method to try a work around over a
XMLTextWriter I get the same result.
What can be the reason for this behavior ?
How can I solve this problem ?
How can I get an XML-File with an inline schema ?
Many thanks in advance
Jan
I have a really suspicious problem:
I want to write the data of a Dataset to a XML-File, wich should include
then schema of the data.
For this I'm using the method DATASET.WriteXml("FILENAME" + ".xml" ,
System.Data.XmlWriteMode.WriteSchema).
As result I get two files:
a) XML-File : FILENAME.xml, of course containing the data and a reference to
b)
b) XSD-File : FILENAME_app1.xsd , containing the schema.
When I'm changing the overloaded WriteXml-method to try a work around over a
XMLTextWriter I get the same result.
What can be the reason for this behavior ?
How can I solve this problem ?
How can I get an XML-File with an inline schema ?
Many thanks in advance
Jan