public Excel_standardPara(XmlNode xmlNode) : base(xmlNode) { XmlNode referenceDateNode = xmlNode.SelectSingleNode("referenceDate"); if (referenceDateNode != null) { if (referenceDateNode.Attributes["href"] != null || referenceDateNode.Attributes["id"] != null) { if (referenceDateNode.Attributes["id"] != null) { referenceDateIDRef_ = referenceDateNode.Attributes["id"].Value; XsdTypeToken ob = new XsdTypeToken(referenceDateNode); IDManager.SetID(referenceDateIDRef_, ob); } else if (referenceDateNode.Attributes["href"] != null) { referenceDateIDRef_ = referenceDateNode.Attributes["href"].Value; } else { referenceDate_ = new XsdTypeToken(referenceDateNode); } } else { referenceDate_ = new XsdTypeToken(referenceDateNode); } } XmlNode simulationNumNode = xmlNode.SelectSingleNode("simulationNum"); if (simulationNumNode != null) { if (simulationNumNode.Attributes["href"] != null || simulationNumNode.Attributes["id"] != null) { if (simulationNumNode.Attributes["id"] != null) { simulationNumIDRef_ = simulationNumNode.Attributes["id"].Value; XsdTypeToken ob = new XsdTypeToken(simulationNumNode); IDManager.SetID(simulationNumIDRef_, ob); } else if (simulationNumNode.Attributes["href"] != null) { simulationNumIDRef_ = simulationNumNode.Attributes["href"].Value; } else { simulationNum_ = new XsdTypeToken(simulationNumNode); } } else { simulationNum_ = new XsdTypeToken(simulationNumNode); } } XmlNode excel_underlyingCalcInfo_paraNode = xmlNode.SelectSingleNode("excel_underlyingCalcInfo_para"); if (excel_underlyingCalcInfo_paraNode != null) { if (excel_underlyingCalcInfo_paraNode.Attributes["href"] != null || excel_underlyingCalcInfo_paraNode.Attributes["id"] != null) { if (excel_underlyingCalcInfo_paraNode.Attributes["id"] != null) { excel_underlyingCalcInfo_paraIDRef_ = excel_underlyingCalcInfo_paraNode.Attributes["id"].Value; Excel_underlyingCalcInfo_para ob = new Excel_underlyingCalcInfo_para(excel_underlyingCalcInfo_paraNode); IDManager.SetID(excel_underlyingCalcInfo_paraIDRef_, ob); } else if (excel_underlyingCalcInfo_paraNode.Attributes["href"] != null) { excel_underlyingCalcInfo_paraIDRef_ = excel_underlyingCalcInfo_paraNode.Attributes["href"].Value; } else { excel_underlyingCalcInfo_para_ = new Excel_underlyingCalcInfo_para(excel_underlyingCalcInfo_paraNode); } } else { excel_underlyingCalcInfo_para_ = new Excel_underlyingCalcInfo_para(excel_underlyingCalcInfo_paraNode); } } XmlNode excel_discountCurve_paraNode = xmlNode.SelectSingleNode("excel_discountCurve_para"); if (excel_discountCurve_paraNode != null) { if (excel_discountCurve_paraNode.Attributes["href"] != null || excel_discountCurve_paraNode.Attributes["id"] != null) { if (excel_discountCurve_paraNode.Attributes["id"] != null) { excel_discountCurve_paraIDRef_ = excel_discountCurve_paraNode.Attributes["id"].Value; Excel_discountCurve_para ob = new Excel_discountCurve_para(excel_discountCurve_paraNode); IDManager.SetID(excel_discountCurve_paraIDRef_, ob); } else if (excel_discountCurve_paraNode.Attributes["href"] != null) { excel_discountCurve_paraIDRef_ = excel_discountCurve_paraNode.Attributes["href"].Value; } else { excel_discountCurve_para_ = new Excel_discountCurve_para(excel_discountCurve_paraNode); } } else { excel_discountCurve_para_ = new Excel_discountCurve_para(excel_discountCurve_paraNode); } } }