public override string GetAttribute (string name) { for (int i = 0; i < attr_count; i++) if (attributes [i].Name == name) return attributes [i].Value; return null; }