internal static string GetMsdataAttribute(XmlSchemaAnnotated node, string ln)
{
XmlAttribute[] nodeAttributes = node.UnhandledAttributes;
if (nodeAttributes != null)
for (int i = 0; i < nodeAttributes.Length; i++)
if (nodeAttributes[i].LocalName == ln && nodeAttributes[i].NamespaceURI == Keywords.MSDNS)
return nodeAttributes[i].Value;
return null;
}