// Adds all items in the XmlSchemaObjectTable to the specified XmlSchema
//
private static void AddTableToSchema(XmlSchema outSch, XmlSchemaObjectTable table)
{
var e = table.GetEnumerator();
while (e.MoveNext())
{
outSch.Items.Add((XmlSchemaObject)e.Value);
}
}