public Excel_vanillaFloatingBond_subtype(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_vanillaFloatingBond_simpleNode = xmlNode.SelectSingleNode("excel_vanillaFloatingBond_simple"); if (excel_vanillaFloatingBond_simpleNode != null) { if (excel_vanillaFloatingBond_simpleNode.Attributes["href"] != null || excel_vanillaFloatingBond_simpleNode.Attributes["id"] != null) { if (excel_vanillaFloatingBond_simpleNode.Attributes["id"] != null) { excel_vanillaFloatingBond_simpleIDRef_ = excel_vanillaFloatingBond_simpleNode.Attributes["id"].Value; Excel_vanillaFloatingBond_simple ob = new Excel_vanillaFloatingBond_simple(excel_vanillaFloatingBond_simpleNode); IDManager.SetID(excel_vanillaFloatingBond_simpleIDRef_, ob); } else if (excel_vanillaFloatingBond_simpleNode.Attributes["href"] != null) { excel_vanillaFloatingBond_simpleIDRef_ = excel_vanillaFloatingBond_simpleNode.Attributes["href"].Value; } else { excel_vanillaFloatingBond_simple_ = new Excel_vanillaFloatingBond_simple(excel_vanillaFloatingBond_simpleNode); } } else { excel_vanillaFloatingBond_simple_ = new Excel_vanillaFloatingBond_simple(excel_vanillaFloatingBond_simpleNode); } } }