private void WriteElement(XmlSchema schema, XmlSchemaSequence sequence, CremaDataTable dataTable) { var element = new XmlSchemaElement() { Name = dataTable.GetXmlName(schema.TargetNamespace), MinOccursString = "0", MaxOccursString = "unbounded", SchemaTypeName = new XmlQualifiedName(dataTable.TableTypeName, schema.TargetNamespace) }; element.Namespaces.Add(string.Empty, schema.TargetNamespace); sequence.Items.Add(element); }