public Excel_fixedBond(XmlNode xmlNode) : base(xmlNode) { XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo"); if (excel_issueInfoNode != null) { if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null) { if (excel_issueInfoNode.Attributes["id"] != null) { excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value; Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode); IDManager.SetID(excel_issueInfoIDRef_, ob); } else if (excel_issueInfoNode.Attributes["href"] != null) { excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value; } else { excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode); } } else { excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode); } } XmlNode excel_fixedCouponScheduleListNode = xmlNode.SelectSingleNode("excel_fixedCouponScheduleList"); if (excel_fixedCouponScheduleListNode != null) { if (excel_fixedCouponScheduleListNode.Attributes["href"] != null || excel_fixedCouponScheduleListNode.Attributes["id"] != null) { if (excel_fixedCouponScheduleListNode.Attributes["id"] != null) { excel_fixedCouponScheduleListIDRef_ = excel_fixedCouponScheduleListNode.Attributes["id"].Value; Excel_fixedCouponScheduleList ob = new Excel_fixedCouponScheduleList(excel_fixedCouponScheduleListNode); IDManager.SetID(excel_fixedCouponScheduleListIDRef_, ob); } else if (excel_fixedCouponScheduleListNode.Attributes["href"] != null) { excel_fixedCouponScheduleListIDRef_ = excel_fixedCouponScheduleListNode.Attributes["href"].Value; } else { excel_fixedCouponScheduleList_ = new Excel_fixedCouponScheduleList(excel_fixedCouponScheduleListNode); } } else { excel_fixedCouponScheduleList_ = new Excel_fixedCouponScheduleList(excel_fixedCouponScheduleListNode); } } XmlNode excel_fixedBond_subtypeNode = xmlNode.SelectSingleNode("excel_fixedBond_subtype"); if (excel_fixedBond_subtypeNode != null) { if (excel_fixedBond_subtypeNode.Attributes["href"] != null || excel_fixedBond_subtypeNode.Attributes["id"] != null) { if (excel_fixedBond_subtypeNode.Attributes["id"] != null) { excel_fixedBond_subtypeIDRef_ = excel_fixedBond_subtypeNode.Attributes["id"].Value; Excel_fixedBond_subtype ob = new Excel_fixedBond_subtype(excel_fixedBond_subtypeNode); IDManager.SetID(excel_fixedBond_subtypeIDRef_, ob); } else if (excel_fixedBond_subtypeNode.Attributes["href"] != null) { excel_fixedBond_subtypeIDRef_ = excel_fixedBond_subtypeNode.Attributes["href"].Value; } else { excel_fixedBond_subtype_ = new Excel_fixedBond_subtype(excel_fixedBond_subtypeNode); } } else { excel_fixedBond_subtype_ = new Excel_fixedBond_subtype(excel_fixedBond_subtypeNode); } } }