Hi,

I have observed that DataSet.WriteXML() method does not store "Allow
Zero Length", "Indexed", and "Required" properties of the fields of a table
in the table schema.
dataset.WriteXml(stream, XmlWriteMode.WriteSchema)

How do I instruct WriteXML() method to include these information along with
field name, type and size?
<xs:element name="field1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="64" />
</xs:restriction>
</xs:simpleType>
</xs:element>

Also, minOccurs="0" translates into which property in the MS Access
database?

Regards
Sanjib

NB: Please include "microsoft.public.dotnet.languages.vb,
microsoft.public.dotnet.xml" in your reply.