public StepDownKIResult(XmlNode xmlNode) : base(xmlNode) { XmlNode underylingInfoResultNode = xmlNode.SelectSingleNode("underylingInfoResult"); if (underylingInfoResultNode != null) { if (underylingInfoResultNode.Attributes["href"] != null || underylingInfoResultNode.Attributes["id"] != null) { if (underylingInfoResultNode.Attributes["id"] != null) { underylingInfoResultIDRef_ = underylingInfoResultNode.Attributes["id"].Value; UnderylingInfoResult ob = new UnderylingInfoResult(underylingInfoResultNode); IDManager.SetID(underylingInfoResultIDRef_, ob); } else if (underylingInfoResultNode.Attributes["href"] != null) { underylingInfoResultIDRef_ = underylingInfoResultNode.Attributes["href"].Value; } else { underylingInfoResult_ = new UnderylingInfoResult(underylingInfoResultNode); } } else { underylingInfoResult_ = new UnderylingInfoResult(underylingInfoResultNode); } } XmlNode cashFlowInfoResultNode = xmlNode.SelectSingleNode("cashFlowInfoResult"); if (cashFlowInfoResultNode != null) { if (cashFlowInfoResultNode.Attributes["href"] != null || cashFlowInfoResultNode.Attributes["id"] != null) { if (cashFlowInfoResultNode.Attributes["id"] != null) { cashFlowInfoResultIDRef_ = cashFlowInfoResultNode.Attributes["id"].Value; CashFlowInfoResult ob = new CashFlowInfoResult(cashFlowInfoResultNode); IDManager.SetID(cashFlowInfoResultIDRef_, ob); } else if (cashFlowInfoResultNode.Attributes["href"] != null) { cashFlowInfoResultIDRef_ = cashFlowInfoResultNode.Attributes["href"].Value; } else { cashFlowInfoResult_ = new CashFlowInfoResult(cashFlowInfoResultNode); } } else { cashFlowInfoResult_ = new CashFlowInfoResult(cashFlowInfoResultNode); } } XmlNode thetaNode = xmlNode.SelectSingleNode("theta"); if (thetaNode != null) { if (thetaNode.Attributes["href"] != null || thetaNode.Attributes["id"] != null) { if (thetaNode.Attributes["id"] != null) { thetaIDRef_ = thetaNode.Attributes["id"].Value; XsdTypeDouble ob = new XsdTypeDouble(thetaNode); IDManager.SetID(thetaIDRef_, ob); } else if (thetaNode.Attributes["href"] != null) { thetaIDRef_ = thetaNode.Attributes["href"].Value; } else { theta_ = new XsdTypeDouble(thetaNode); } } else { theta_ = new XsdTypeDouble(thetaNode); } } }