public Excel_structuredBond_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_structuredBond_fixedAccrualNode = xmlNode.SelectSingleNode("excel_structuredBond_fixedAccrual");
     
     if (excel_structuredBond_fixedAccrualNode != null)
     {
         if (excel_structuredBond_fixedAccrualNode.Attributes["href"] != null || excel_structuredBond_fixedAccrualNode.Attributes["id"] != null) 
         {
             if (excel_structuredBond_fixedAccrualNode.Attributes["id"] != null) 
             {
                 excel_structuredBond_fixedAccrualIDRef_ = excel_structuredBond_fixedAccrualNode.Attributes["id"].Value;
                 Excel_structuredBond_fixedAccrual ob = new Excel_structuredBond_fixedAccrual(excel_structuredBond_fixedAccrualNode);
                 IDManager.SetID(excel_structuredBond_fixedAccrualIDRef_, ob);
             }
             else if (excel_structuredBond_fixedAccrualNode.Attributes["href"] != null)
             {
                 excel_structuredBond_fixedAccrualIDRef_ = excel_structuredBond_fixedAccrualNode.Attributes["href"].Value;
             }
             else
             {
                 excel_structuredBond_fixedAccrual_ = new Excel_structuredBond_fixedAccrual(excel_structuredBond_fixedAccrualNode);
             }
         }
         else
         {
             excel_structuredBond_fixedAccrual_ = new Excel_structuredBond_fixedAccrual(excel_structuredBond_fixedAccrualNode);
         }
     }
     
 
     XmlNode excel_structuredBond_floatingAccrualNode = xmlNode.SelectSingleNode("excel_structuredBond_floatingAccrual");
     
     if (excel_structuredBond_floatingAccrualNode != null)
     {
         if (excel_structuredBond_floatingAccrualNode.Attributes["href"] != null || excel_structuredBond_floatingAccrualNode.Attributes["id"] != null) 
         {
             if (excel_structuredBond_floatingAccrualNode.Attributes["id"] != null) 
             {
                 excel_structuredBond_floatingAccrualIDRef_ = excel_structuredBond_floatingAccrualNode.Attributes["id"].Value;
                 Excel_structuredBond_floatingAccrual ob = new Excel_structuredBond_floatingAccrual(excel_structuredBond_floatingAccrualNode);
                 IDManager.SetID(excel_structuredBond_floatingAccrualIDRef_, ob);
             }
             else if (excel_structuredBond_floatingAccrualNode.Attributes["href"] != null)
             {
                 excel_structuredBond_floatingAccrualIDRef_ = excel_structuredBond_floatingAccrualNode.Attributes["href"].Value;
             }
             else
             {
                 excel_structuredBond_floatingAccrual_ = new Excel_structuredBond_floatingAccrual(excel_structuredBond_floatingAccrualNode);
             }
         }
         else
         {
             excel_structuredBond_floatingAccrual_ = new Excel_structuredBond_floatingAccrual(excel_structuredBond_floatingAccrualNode);
         }
     }
     
 
 }
        public Excel_structuredBond_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_structuredBond_fixedAccrualNode = xmlNode.SelectSingleNode("excel_structuredBond_fixedAccrual");

            if (excel_structuredBond_fixedAccrualNode != null)
            {
                if (excel_structuredBond_fixedAccrualNode.Attributes["href"] != null || excel_structuredBond_fixedAccrualNode.Attributes["id"] != null)
                {
                    if (excel_structuredBond_fixedAccrualNode.Attributes["id"] != null)
                    {
                        excel_structuredBond_fixedAccrualIDRef_ = excel_structuredBond_fixedAccrualNode.Attributes["id"].Value;
                        Excel_structuredBond_fixedAccrual ob = new Excel_structuredBond_fixedAccrual(excel_structuredBond_fixedAccrualNode);
                        IDManager.SetID(excel_structuredBond_fixedAccrualIDRef_, ob);
                    }
                    else if (excel_structuredBond_fixedAccrualNode.Attributes["href"] != null)
                    {
                        excel_structuredBond_fixedAccrualIDRef_ = excel_structuredBond_fixedAccrualNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_structuredBond_fixedAccrual_ = new Excel_structuredBond_fixedAccrual(excel_structuredBond_fixedAccrualNode);
                    }
                }
                else
                {
                    excel_structuredBond_fixedAccrual_ = new Excel_structuredBond_fixedAccrual(excel_structuredBond_fixedAccrualNode);
                }
            }


            XmlNode excel_structuredBond_floatingAccrualNode = xmlNode.SelectSingleNode("excel_structuredBond_floatingAccrual");

            if (excel_structuredBond_floatingAccrualNode != null)
            {
                if (excel_structuredBond_floatingAccrualNode.Attributes["href"] != null || excel_structuredBond_floatingAccrualNode.Attributes["id"] != null)
                {
                    if (excel_structuredBond_floatingAccrualNode.Attributes["id"] != null)
                    {
                        excel_structuredBond_floatingAccrualIDRef_ = excel_structuredBond_floatingAccrualNode.Attributes["id"].Value;
                        Excel_structuredBond_floatingAccrual ob = new Excel_structuredBond_floatingAccrual(excel_structuredBond_floatingAccrualNode);
                        IDManager.SetID(excel_structuredBond_floatingAccrualIDRef_, ob);
                    }
                    else if (excel_structuredBond_floatingAccrualNode.Attributes["href"] != null)
                    {
                        excel_structuredBond_floatingAccrualIDRef_ = excel_structuredBond_floatingAccrualNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_structuredBond_floatingAccrual_ = new Excel_structuredBond_floatingAccrual(excel_structuredBond_floatingAccrualNode);
                    }
                }
                else
                {
                    excel_structuredBond_floatingAccrual_ = new Excel_structuredBond_floatingAccrual(excel_structuredBond_floatingAccrualNode);
                }
            }
        }