internal XmlSchemaElement FindGlobalElement(string namespaceURI, string localName, out XmlSchema parentSchema)
{
ICollection col = this.schemaSet.Schemas(namespaceURI);
XmlSchemaElement xse = null;
parentSchema = null;
foreach(XmlSchema schema in col)
{
xse = FindElement(schema.Items, localName);
if (xse != null)
{
parentSchema = schema;
return xse;
}
}
return null;
}