public int indexOfElements(IXmlBBase el) { return ((System.Collections.IList) allElements()).IndexOf (el); }