public override string GetAttribute (string localName, string ns) { for (int i = 0; i < attr_count; i++) if (attributes [i].LocalName == localName && attributes [i].NS == ns) return attributes [i].Value; return null; }