Creating a XML and XSD for data storage. Starting with empty xml
-
Hello, I am using a xml and xsd store data. My table will be very small no more than 10 rows. However, I would like to start with zero records. However, I am finding I get an error with the following. The ID element is auto incremented which is set and run time when the dataset reads the xsd schema. My XSD: My XML: However, I get a error under the attribute. "The 'ID' element is invalid - The value '' is invalid according to its datatype 'http://www.w3.org/2001/XMLSchema:unsignedInt' - The string '' is not a valid UInt32 value." However, If I add a 0 I don't get the error message. However, I get 1 row already created which is what I don't want. All the rows will be created and saved at run-time. How is it possible to start off with a blank rows? Many thanks for any suggestions, Steve