public void SetAttribute(string attributeName, string value) { if (_xmlElement == null) { _geckoElement.SetAttribute(attributeName, value); } else { _xmlElement.SetAttribute(attributeName, value); } }