public AttDef FindAttribute(string name)
{
if (m_attList == null)
throw new InvalidOperationException("The attribute list for the element declaration has not been initialised.");
AttDef a;
m_attList.TryGetValue(name.ToUpperInvariant(), out a);
return a;
}