public ImportLog4NetScenario(IWizardScenarioHost host, IObjectFactory fac) { this.host = host; doc = new XmlDocument(); doc.LoadXml(@" <format> <regular-grammar> <head-re></head-re> <body-re></body-re> <fields-config></fields-config> </regular-grammar> </format>"); importPage = fac.CreateImportLog4NetPage(host); identityPage = fac.CreateFormatIdentityPage(host, newFormatMode: true); identityPage.SetFormatRoot(doc.DocumentElement); optionsPage = fac.CreateFormatAdditionalOptionsPage(host); optionsPage.SetFormatRoot(doc.SelectSingleNode("format/regular-grammar")); savePage = fac.CreateSaveFormatPage(host, newFormatMode: false); savePage.SetDocument(doc); }