public Excel_returnCalcInfo(XmlNode xmlNode) : base(xmlNode) { XmlNode excel_typeNode = xmlNode.SelectSingleNode("excel_type"); if (excel_typeNode != null) { if (excel_typeNode.Attributes["href"] != null || excel_typeNode.Attributes["id"] != null) { if (excel_typeNode.Attributes["id"] != null) { excel_typeIDRef_ = excel_typeNode.Attributes["id"].Value; XsdTypeToken ob = new XsdTypeToken(excel_typeNode); IDManager.SetID(excel_typeIDRef_, ob); } else if (excel_typeNode.Attributes["href"] != null) { excel_typeIDRef_ = excel_typeNode.Attributes["href"].Value; } else { excel_type_ = new XsdTypeToken(excel_typeNode); } } else { excel_type_ = new XsdTypeToken(excel_typeNode); } } XmlNode excel_constReturnCalNode = xmlNode.SelectSingleNode("excel_constReturnCal"); if (excel_constReturnCalNode != null) { if (excel_constReturnCalNode.Attributes["href"] != null || excel_constReturnCalNode.Attributes["id"] != null) { if (excel_constReturnCalNode.Attributes["id"] != null) { excel_constReturnCalIDRef_ = excel_constReturnCalNode.Attributes["id"].Value; Excel_constReturnCal ob = new Excel_constReturnCal(excel_constReturnCalNode); IDManager.SetID(excel_constReturnCalIDRef_, ob); } else if (excel_constReturnCalNode.Attributes["href"] != null) { excel_constReturnCalIDRef_ = excel_constReturnCalNode.Attributes["href"].Value; } else { excel_constReturnCal_ = new Excel_constReturnCal(excel_constReturnCalNode); } } else { excel_constReturnCal_ = new Excel_constReturnCal(excel_constReturnCalNode); } } XmlNode excel_vanillaReturnCalNode = xmlNode.SelectSingleNode("excel_vanillaReturnCal"); if (excel_vanillaReturnCalNode != null) { if (excel_vanillaReturnCalNode.Attributes["href"] != null || excel_vanillaReturnCalNode.Attributes["id"] != null) { if (excel_vanillaReturnCalNode.Attributes["id"] != null) { excel_vanillaReturnCalIDRef_ = excel_vanillaReturnCalNode.Attributes["id"].Value; Excel_vanillaReturnCal ob = new Excel_vanillaReturnCal(excel_vanillaReturnCalNode); IDManager.SetID(excel_vanillaReturnCalIDRef_, ob); } else if (excel_vanillaReturnCalNode.Attributes["href"] != null) { excel_vanillaReturnCalIDRef_ = excel_vanillaReturnCalNode.Attributes["href"].Value; } else { excel_vanillaReturnCal_ = new Excel_vanillaReturnCal(excel_vanillaReturnCalNode); } } else { excel_vanillaReturnCal_ = new Excel_vanillaReturnCal(excel_vanillaReturnCalNode); } } }