public Group(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode headerNode = xmlNode.SelectSingleNode("header");
     
     if (headerNode != null)
     {
         if (headerNode.Attributes["href"] != null || headerNode.Attributes["id"] != null) 
         {
             if (headerNode.Attributes["id"] != null) 
             {
                 headerIDRef_ = headerNode.Attributes["id"].Value;
                 Header ob = new Header(headerNode);
                 IDManager.SetID(headerIDRef_, ob);
             }
             else if (headerNode.Attributes["href"] != null)
             {
                 headerIDRef_ = headerNode.Attributes["href"].Value;
             }
             else
             {
                 header_ = new Header(headerNode);
             }
         }
         else
         {
             header_ = new Header(headerNode);
         }
     }
     
 
 }
 public Instrument(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode headerNode = xmlNode.SelectSingleNode("header");
     
     if (headerNode != null)
     {
         if (headerNode.Attributes["href"] != null || headerNode.Attributes["id"] != null) 
         {
             if (headerNode.Attributes["id"] != null) 
             {
                 headerIDRef_ = headerNode.Attributes["id"].Value;
                 Header ob = new Header(headerNode);
                 IDManager.SetID(headerIDRef_, ob);
             }
             else if (headerNode.Attributes["href"] != null)
             {
                 headerIDRef_ = headerNode.Attributes["href"].Value;
             }
             else
             {
                 header_ = new Header(headerNode);
             }
         }
         else
         {
             header_ = new Header(headerNode);
         }
     }
     
 
     XmlNode instPositionInfoNode = xmlNode.SelectSingleNode("instPositionInfo");
     
     if (instPositionInfoNode != null)
     {
         if (instPositionInfoNode.Attributes["href"] != null || instPositionInfoNode.Attributes["id"] != null) 
         {
             if (instPositionInfoNode.Attributes["id"] != null) 
             {
                 instPositionInfoIDRef_ = instPositionInfoNode.Attributes["id"].Value;
                 InstPositionInfo ob = new InstPositionInfo(instPositionInfoNode);
                 IDManager.SetID(instPositionInfoIDRef_, ob);
             }
             else if (instPositionInfoNode.Attributes["href"] != null)
             {
                 instPositionInfoIDRef_ = instPositionInfoNode.Attributes["href"].Value;
             }
             else
             {
                 instPositionInfo_ = new InstPositionInfo(instPositionInfoNode);
             }
         }
         else
         {
             instPositionInfo_ = new InstPositionInfo(instPositionInfoNode);
         }
     }
     
 
     XmlNode excel_interfaceNode = xmlNode.SelectSingleNode("excel_interface");
     
     if (excel_interfaceNode != null)
     {
         if (excel_interfaceNode.Attributes["href"] != null || excel_interfaceNode.Attributes["id"] != null) 
         {
             if (excel_interfaceNode.Attributes["id"] != null) 
             {
                 excel_interfaceIDRef_ = excel_interfaceNode.Attributes["id"].Value;
                 Excel_interface ob = new Excel_interface(excel_interfaceNode);
                 IDManager.SetID(excel_interfaceIDRef_, ob);
             }
             else if (excel_interfaceNode.Attributes["href"] != null)
             {
                 excel_interfaceIDRef_ = excel_interfaceNode.Attributes["href"].Value;
             }
             else
             {
                 excel_interface_ = new Excel_interface(excel_interfaceNode);
             }
         }
         else
         {
             excel_interface_ = new Excel_interface(excel_interfaceNode);
         }
     }
     
 
     XmlNode instrumentInfoNode = xmlNode.SelectSingleNode("instrumentInfo");
     
     if (instrumentInfoNode != null)
     {
         if (instrumentInfoNode.Attributes["href"] != null || instrumentInfoNode.Attributes["id"] != null) 
         {
             if (instrumentInfoNode.Attributes["id"] != null) 
             {
                 instrumentInfoIDRef_ = instrumentInfoNode.Attributes["id"].Value;
                 InstrumentInfo ob = new InstrumentInfo(instrumentInfoNode);
                 IDManager.SetID(instrumentInfoIDRef_, ob);
             }
             else if (instrumentInfoNode.Attributes["href"] != null)
             {
                 instrumentInfoIDRef_ = instrumentInfoNode.Attributes["href"].Value;
             }
             else
             {
                 instrumentInfo_ = new InstrumentInfo(instrumentInfoNode);
             }
         }
         else
         {
             instrumentInfo_ = new InstrumentInfo(instrumentInfoNode);
         }
     }
     
 
 }