public string GetAttribute(string attributeName) { if (_xmlElement == null) { return _geckoElement.GetAttribute(attributeName); } else { return _xmlElement.GetAttribute(attributeName); } }