internal void HandleAttributes(XmlSchemaObjectCollection attributes, DataTable table, bool isBase)
{
foreach (XmlSchemaObject so in attributes)
{
if (so is XmlSchemaAttribute)
{
HandleAttributeColumn((XmlSchemaAttribute)so, table, isBase);
}
else
{ // XmlSchemaAttributeGroupRef
XmlSchemaAttributeGroupRef groupRef = so as XmlSchemaAttributeGroupRef;
XmlSchemaAttributeGroup schemaGroup = _attributeGroups[groupRef.RefName] as XmlSchemaAttributeGroup;
if (schemaGroup != null)
{
HandleAttributeGroup(schemaGroup, table, isBase);
}
}
}
}