public void StartElement(string uri, string localName, string qName, IAttributes atts)
{
//System.Diagnostics.Debug.WriteLine("StartElement");
if (_nsXmlInterface != null)
{
CharactersWorkaround();
NSMutableDictionary attributeDict = (NSMutableDictionary)NSMutableDictionary.Alloc().Init();
for (int indx = 0; indx < atts.Length; indx++)
{
NSString key = (NSString)atts.GetQName(indx);
NSString val = (NSString)atts.GetValue(indx);
attributeDict.Add(key, val);
}
//SEL sel;
//if (Objc.RespondsToSelector(_delegate, "ParserDidStartElement", ref sel))
//{
// sel.MsgSend(this, localName, uri, qName, attributeDict);
//}
_nsXmlInterface.ParserDidStartElement(this, localName, uri, qName, attributeDict);
}
}