internal static void Collateral_GenXML_ByPortfolioCode() { XMLEditor xmlEditor = new XMLEditor(ConfigurationManager.AppSettings["assemblyLocation"] + "\\testFiles\\Collateral\\GenXML\\EMIRCollateral_PortfolioCode.xml"); xmlEditor.EditCollateralNode("CollateralDate", Test.testdate); xmlEditor.EditCollateralNode("CollateralValue", "6464"); xmlEditor.EditCollateralNode("CollateralCounterparty", Test.counterParty); xmlEditor.SaveXML(""); }
internal static void Collateral_GenXML_NonDelegated() { XMLEditor xmlEditor = new XMLEditor(ConfigurationManager.AppSettings["assemblyLocation"] + "\\testFiles\\Collateral\\GenXML\\EMIRCollateral_UTI.xml"); xmlEditor.EditCollateralNode("CollateralDate", Test.testdate); xmlEditor.EditCollateralNode("CollateralValue", "6464"); xmlEditor.EditCollateralNode("SourceTradeID", Test.STI); xmlEditor.EditCollateralNode("UniqueTradeID", Test.UTI); xmlEditor.EditCollateralNode("CollateralCounterparty", Test.counterParty); xmlEditor.SaveXML(""); }