public IXmlDocument Load() { IXmlDocument configXml = mXmlDocFactory.Create(); if (mFile.Exists(mFilename)) { configXml.Load(mFilename); } else { configXml.AppendChild(configXml.CreateElement(Log4NetXmlConstants.Log4Net)); } return(configXml); }