public XmlSchemaAttribute WriteSchemaAttribute (MemberInfo member, Type attribute_type)
{
if (member == null || attribute_type == null)
return null;
XmlSchemaAttribute attribute = new XmlSchemaAttribute ();
attribute.Name = member.Name;
attribute.SchemaTypeName = GetQualifiedName (attribute_type.FullName);
object [] attrs = member.GetCustomAttributes (false);
return attribute;
}