public EventCheckNormal(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode eventDateNode = xmlNode.SelectSingleNode("eventDate");

            if (eventDateNode != null)
            {
                if (eventDateNode.Attributes["href"] != null || eventDateNode.Attributes["id"] != null)
                {
                    if (eventDateNode.Attributes["id"] != null)
                    {
                        eventDateIDRef_ = eventDateNode.Attributes["id"].Value;
                        EventDate ob = new EventDate(eventDateNode);
                        IDManager.SetID(eventDateIDRef_, ob);
                    }
                    else if (eventDateNode.Attributes["href"] != null)
                    {
                        eventDateIDRef_ = eventDateNode.Attributes["href"].Value;
                    }
                    else
                    {
                        eventDate_ = new EventDate(eventDateNode);
                    }
                }
                else
                {
                    eventDate_ = new EventDate(eventDateNode);
                }
            }
        }
 public EventCheckNormal(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNodeList eventDateNodeList = xmlNode.SelectNodes("eventDate");
     if (eventDateNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in eventDateNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 eventDateIDRef = item.Attributes["id"].Name;
                 EventDate ob = EventDate();
                 IDManager.SetID(eventDateIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 eventDateIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 eventDate = new EventDate(item);
             }
         }
     }
     
 
 }
 public EventCheckNormal(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode eventDateNode = xmlNode.SelectSingleNode("eventDate");
     
     if (eventDateNode != null)
     {
         if (eventDateNode.Attributes["href"] != null || eventDateNode.Attributes["id"] != null) 
         {
             if (eventDateNode.Attributes["id"] != null) 
             {
                 eventDateIDRef_ = eventDateNode.Attributes["id"].Value;
                 EventDate ob = new EventDate(eventDateNode);
                 IDManager.SetID(eventDateIDRef_, ob);
             }
             else if (eventDateNode.Attributes["href"] != null)
             {
                 eventDateIDRef_ = eventDateNode.Attributes["href"].Value;
             }
             else
             {
                 eventDate_ = new EventDate(eventDateNode);
             }
         }
         else
         {
             eventDate_ = new EventDate(eventDateNode);
         }
     }
     
 
 }
        public EventCheckNormal(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNodeList eventDateNodeList = xmlNode.SelectNodes("eventDate");

            if (eventDateNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in eventDateNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        eventDateIDRef = item.Attributes["id"].Name;
                        EventDate ob = EventDate();
                        IDManager.SetID(eventDateIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        eventDateIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        eventDate = new EventDate(item);
                    }
                }
            }
        }
Exemplo n.º 5
0
        public IndexRef(XmlNode xmlNode)
        {
            XmlNode underlyingIndexRefNode = xmlNode.SelectSingleNode("underlyingIndexRef");

            if (underlyingIndexRefNode != null)
            {
                if (underlyingIndexRefNode.Attributes["href"] != null || underlyingIndexRefNode.Attributes["id"] != null)
                {
                    if (underlyingIndexRefNode.Attributes["id"] != null)
                    {
                        underlyingIndexRefIDRef_ = underlyingIndexRefNode.Attributes["id"].Value;
                        UnderlyingIndex ob = new UnderlyingIndex(underlyingIndexRefNode);
                        IDManager.SetID(underlyingIndexRefIDRef_, ob);
                    }
                    else if (underlyingIndexRefNode.Attributes["href"] != null)
                    {
                        underlyingIndexRefIDRef_ = underlyingIndexRefNode.Attributes["href"].Value;
                    }
                    else
                    {
                        underlyingIndexRef_ = new UnderlyingIndex(underlyingIndexRefNode);
                    }
                }
                else
                {
                    underlyingIndexRef_ = new UnderlyingIndex(underlyingIndexRefNode);
                }
            }


            XmlNode eventDateRefNode = xmlNode.SelectSingleNode("eventDateRef");

            if (eventDateRefNode != null)
            {
                if (eventDateRefNode.Attributes["href"] != null || eventDateRefNode.Attributes["id"] != null)
                {
                    if (eventDateRefNode.Attributes["id"] != null)
                    {
                        eventDateRefIDRef_ = eventDateRefNode.Attributes["id"].Value;
                        EventDate ob = new EventDate(eventDateRefNode);
                        IDManager.SetID(eventDateRefIDRef_, ob);
                    }
                    else if (eventDateRefNode.Attributes["href"] != null)
                    {
                        eventDateRefIDRef_ = eventDateRefNode.Attributes["href"].Value;
                    }
                    else
                    {
                        eventDateRef_ = new EventDate(eventDateRefNode);
                    }
                }
                else
                {
                    eventDateRef_ = new EventDate(eventDateRefNode);
                }
            }


            XmlNode fixingDaysNode = xmlNode.SelectSingleNode("fixingDays");

            if (fixingDaysNode != null)
            {
                if (fixingDaysNode.Attributes["href"] != null || fixingDaysNode.Attributes["id"] != null)
                {
                    if (fixingDaysNode.Attributes["id"] != null)
                    {
                        fixingDaysIDRef_ = fixingDaysNode.Attributes["id"].Value;
                        FixingDays ob = new FixingDays(fixingDaysNode);
                        IDManager.SetID(fixingDaysIDRef_, ob);
                    }
                    else if (fixingDaysNode.Attributes["href"] != null)
                    {
                        fixingDaysIDRef_ = fixingDaysNode.Attributes["href"].Value;
                    }
                    else
                    {
                        fixingDays_ = new FixingDays(fixingDaysNode);
                    }
                }
                else
                {
                    fixingDays_ = new FixingDays(fixingDaysNode);
                }
            }
        }
 public IssueInformation(XmlNode xmlNode)
 {
     XmlNode productTypeNode = xmlNode.SelectSingleNode("productType");
     
     if (productTypeNode != null)
     {
         if (productTypeNode.Attributes["href"] != null || productTypeNode.Attributes["id"] != null) 
         {
             if (productTypeNode.Attributes["id"] != null) 
             {
                 productTypeIDRef_ = productTypeNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(productTypeNode);
                 IDManager.SetID(productTypeIDRef_, ob);
             }
             else if (productTypeNode.Attributes["href"] != null)
             {
                 productTypeIDRef_ = productTypeNode.Attributes["href"].Value;
             }
             else
             {
                 productType_ = new XsdTypeToken(productTypeNode);
             }
         }
         else
         {
             productType_ = new XsdTypeToken(productTypeNode);
         }
     }
     
 
     XmlNode instrumentIDNode = xmlNode.SelectSingleNode("instrumentID");
     
     if (instrumentIDNode != null)
     {
         if (instrumentIDNode.Attributes["href"] != null || instrumentIDNode.Attributes["id"] != null) 
         {
             if (instrumentIDNode.Attributes["id"] != null) 
             {
                 instrumentIDIDRef_ = instrumentIDNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(instrumentIDNode);
                 IDManager.SetID(instrumentIDIDRef_, ob);
             }
             else if (instrumentIDNode.Attributes["href"] != null)
             {
                 instrumentIDIDRef_ = instrumentIDNode.Attributes["href"].Value;
             }
             else
             {
                 instrumentID_ = new XsdTypeToken(instrumentIDNode);
             }
         }
         else
         {
             instrumentID_ = new XsdTypeToken(instrumentIDNode);
         }
     }
     
 
     XmlNode notionalNode = xmlNode.SelectSingleNode("notional");
     
     if (notionalNode != null)
     {
         if (notionalNode.Attributes["href"] != null || notionalNode.Attributes["id"] != null) 
         {
             if (notionalNode.Attributes["id"] != null) 
             {
                 notionalIDRef_ = notionalNode.Attributes["id"].Value;
                 XsdTypeDecimal ob = new XsdTypeDecimal(notionalNode);
                 IDManager.SetID(notionalIDRef_, ob);
             }
             else if (notionalNode.Attributes["href"] != null)
             {
                 notionalIDRef_ = notionalNode.Attributes["href"].Value;
             }
             else
             {
                 notional_ = new XsdTypeDecimal(notionalNode);
             }
         }
         else
         {
             notional_ = new XsdTypeDecimal(notionalNode);
         }
     }
     
 
     XmlNode issueDateNode = xmlNode.SelectSingleNode("issueDate");
     
     if (issueDateNode != null)
     {
         if (issueDateNode.Attributes["href"] != null || issueDateNode.Attributes["id"] != null) 
         {
             if (issueDateNode.Attributes["id"] != null) 
             {
                 issueDateIDRef_ = issueDateNode.Attributes["id"].Value;
                 EventDate ob = new EventDate(issueDateNode);
                 IDManager.SetID(issueDateIDRef_, ob);
             }
             else if (issueDateNode.Attributes["href"] != null)
             {
                 issueDateIDRef_ = issueDateNode.Attributes["href"].Value;
             }
             else
             {
                 issueDate_ = new EventDate(issueDateNode);
             }
         }
         else
         {
             issueDate_ = new EventDate(issueDateNode);
         }
     }
     
 
     XmlNode maturityDateNode = xmlNode.SelectSingleNode("maturityDate");
     
     if (maturityDateNode != null)
     {
         if (maturityDateNode.Attributes["href"] != null || maturityDateNode.Attributes["id"] != null) 
         {
             if (maturityDateNode.Attributes["id"] != null) 
             {
                 maturityDateIDRef_ = maturityDateNode.Attributes["id"].Value;
                 EventDate ob = new EventDate(maturityDateNode);
                 IDManager.SetID(maturityDateIDRef_, ob);
             }
             else if (maturityDateNode.Attributes["href"] != null)
             {
                 maturityDateIDRef_ = maturityDateNode.Attributes["href"].Value;
             }
             else
             {
                 maturityDate_ = new EventDate(maturityDateNode);
             }
         }
         else
         {
             maturityDate_ = new EventDate(maturityDateNode);
         }
     }
     
 
 }
 public IndexRef(XmlNode xmlNode)
 {
     XmlNode underlyingIndexRefNode = xmlNode.SelectSingleNode("underlyingIndexRef");
     
     if (underlyingIndexRefNode != null)
     {
         if (underlyingIndexRefNode.Attributes["href"] != null || underlyingIndexRefNode.Attributes["id"] != null) 
         {
             if (underlyingIndexRefNode.Attributes["id"] != null) 
             {
                 underlyingIndexRefIDRef_ = underlyingIndexRefNode.Attributes["id"].Value;
                 UnderlyingIndex ob = new UnderlyingIndex(underlyingIndexRefNode);
                 IDManager.SetID(underlyingIndexRefIDRef_, ob);
             }
             else if (underlyingIndexRefNode.Attributes["href"] != null)
             {
                 underlyingIndexRefIDRef_ = underlyingIndexRefNode.Attributes["href"].Value;
             }
             else
             {
                 underlyingIndexRef_ = new UnderlyingIndex(underlyingIndexRefNode);
             }
         }
         else
         {
             underlyingIndexRef_ = new UnderlyingIndex(underlyingIndexRefNode);
         }
     }
     
 
     XmlNode eventDateRefNode = xmlNode.SelectSingleNode("eventDateRef");
     
     if (eventDateRefNode != null)
     {
         if (eventDateRefNode.Attributes["href"] != null || eventDateRefNode.Attributes["id"] != null) 
         {
             if (eventDateRefNode.Attributes["id"] != null) 
             {
                 eventDateRefIDRef_ = eventDateRefNode.Attributes["id"].Value;
                 EventDate ob = new EventDate(eventDateRefNode);
                 IDManager.SetID(eventDateRefIDRef_, ob);
             }
             else if (eventDateRefNode.Attributes["href"] != null)
             {
                 eventDateRefIDRef_ = eventDateRefNode.Attributes["href"].Value;
             }
             else
             {
                 eventDateRef_ = new EventDate(eventDateRefNode);
             }
         }
         else
         {
             eventDateRef_ = new EventDate(eventDateRefNode);
         }
     }
     
 
     XmlNode fixingDaysNode = xmlNode.SelectSingleNode("fixingDays");
     
     if (fixingDaysNode != null)
     {
         if (fixingDaysNode.Attributes["href"] != null || fixingDaysNode.Attributes["id"] != null) 
         {
             if (fixingDaysNode.Attributes["id"] != null) 
             {
                 fixingDaysIDRef_ = fixingDaysNode.Attributes["id"].Value;
                 FixingDays ob = new FixingDays(fixingDaysNode);
                 IDManager.SetID(fixingDaysIDRef_, ob);
             }
             else if (fixingDaysNode.Attributes["href"] != null)
             {
                 fixingDaysIDRef_ = fixingDaysNode.Attributes["href"].Value;
             }
             else
             {
                 fixingDays_ = new FixingDays(fixingDaysNode);
             }
         }
         else
         {
             fixingDays_ = new FixingDays(fixingDaysNode);
         }
     }
     
 
 }
        public IssueInformation(XmlNode xmlNode)
        {
            XmlNode productTypeNode = xmlNode.SelectSingleNode("productType");

            if (productTypeNode != null)
            {
                if (productTypeNode.Attributes["href"] != null || productTypeNode.Attributes["id"] != null)
                {
                    if (productTypeNode.Attributes["id"] != null)
                    {
                        productTypeIDRef_ = productTypeNode.Attributes["id"].Value;
                        XsdTypeToken ob = new XsdTypeToken(productTypeNode);
                        IDManager.SetID(productTypeIDRef_, ob);
                    }
                    else if (productTypeNode.Attributes["href"] != null)
                    {
                        productTypeIDRef_ = productTypeNode.Attributes["href"].Value;
                    }
                    else
                    {
                        productType_ = new XsdTypeToken(productTypeNode);
                    }
                }
                else
                {
                    productType_ = new XsdTypeToken(productTypeNode);
                }
            }


            XmlNode instrumentIDNode = xmlNode.SelectSingleNode("instrumentID");

            if (instrumentIDNode != null)
            {
                if (instrumentIDNode.Attributes["href"] != null || instrumentIDNode.Attributes["id"] != null)
                {
                    if (instrumentIDNode.Attributes["id"] != null)
                    {
                        instrumentIDIDRef_ = instrumentIDNode.Attributes["id"].Value;
                        XsdTypeToken ob = new XsdTypeToken(instrumentIDNode);
                        IDManager.SetID(instrumentIDIDRef_, ob);
                    }
                    else if (instrumentIDNode.Attributes["href"] != null)
                    {
                        instrumentIDIDRef_ = instrumentIDNode.Attributes["href"].Value;
                    }
                    else
                    {
                        instrumentID_ = new XsdTypeToken(instrumentIDNode);
                    }
                }
                else
                {
                    instrumentID_ = new XsdTypeToken(instrumentIDNode);
                }
            }


            XmlNode notionalNode = xmlNode.SelectSingleNode("notional");

            if (notionalNode != null)
            {
                if (notionalNode.Attributes["href"] != null || notionalNode.Attributes["id"] != null)
                {
                    if (notionalNode.Attributes["id"] != null)
                    {
                        notionalIDRef_ = notionalNode.Attributes["id"].Value;
                        XsdTypeDecimal ob = new XsdTypeDecimal(notionalNode);
                        IDManager.SetID(notionalIDRef_, ob);
                    }
                    else if (notionalNode.Attributes["href"] != null)
                    {
                        notionalIDRef_ = notionalNode.Attributes["href"].Value;
                    }
                    else
                    {
                        notional_ = new XsdTypeDecimal(notionalNode);
                    }
                }
                else
                {
                    notional_ = new XsdTypeDecimal(notionalNode);
                }
            }


            XmlNode issueDateNode = xmlNode.SelectSingleNode("issueDate");

            if (issueDateNode != null)
            {
                if (issueDateNode.Attributes["href"] != null || issueDateNode.Attributes["id"] != null)
                {
                    if (issueDateNode.Attributes["id"] != null)
                    {
                        issueDateIDRef_ = issueDateNode.Attributes["id"].Value;
                        EventDate ob = new EventDate(issueDateNode);
                        IDManager.SetID(issueDateIDRef_, ob);
                    }
                    else if (issueDateNode.Attributes["href"] != null)
                    {
                        issueDateIDRef_ = issueDateNode.Attributes["href"].Value;
                    }
                    else
                    {
                        issueDate_ = new EventDate(issueDateNode);
                    }
                }
                else
                {
                    issueDate_ = new EventDate(issueDateNode);
                }
            }


            XmlNode maturityDateNode = xmlNode.SelectSingleNode("maturityDate");

            if (maturityDateNode != null)
            {
                if (maturityDateNode.Attributes["href"] != null || maturityDateNode.Attributes["id"] != null)
                {
                    if (maturityDateNode.Attributes["id"] != null)
                    {
                        maturityDateIDRef_ = maturityDateNode.Attributes["id"].Value;
                        EventDate ob = new EventDate(maturityDateNode);
                        IDManager.SetID(maturityDateIDRef_, ob);
                    }
                    else if (maturityDateNode.Attributes["href"] != null)
                    {
                        maturityDateIDRef_ = maturityDateNode.Attributes["href"].Value;
                    }
                    else
                    {
                        maturityDate_ = new EventDate(maturityDateNode);
                    }
                }
                else
                {
                    maturityDate_ = new EventDate(maturityDateNode);
                }
            }
        }
 public IndexRef(XmlNode xmlNode)
 {
     XmlNodeList underlyingIndexRefNodeList = xmlNode.SelectNodes("underlyingIndexRef");
     if (underlyingIndexRefNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in underlyingIndexRefNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 underlyingIndexRefIDRef = item.Attributes["id"].Name;
                 UnderlyingIndex ob = UnderlyingIndex();
                 IDManager.SetID(underlyingIndexRefIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 underlyingIndexRefIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 underlyingIndexRef = new UnderlyingIndex(item);
             }
         }
     }
     
 
     XmlNodeList eventDateRefNodeList = xmlNode.SelectNodes("eventDateRef");
     if (eventDateRefNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in eventDateRefNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 eventDateRefIDRef = item.Attributes["id"].Name;
                 EventDate ob = EventDate();
                 IDManager.SetID(eventDateRefIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 eventDateRefIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 eventDateRef = new EventDate(item);
             }
         }
     }
     
 
     XmlNodeList fixingDaysNodeList = xmlNode.SelectNodes("fixingDays");
     if (fixingDaysNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in fixingDaysNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 fixingDaysIDRef = item.Attributes["id"].Name;
                 FixingDays ob = FixingDays();
                 IDManager.SetID(fixingDaysIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 fixingDaysIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 fixingDays = new FixingDays(item);
             }
         }
     }
     
 
 }
Exemplo n.º 10
0
        public IssueInformation(XmlNode xmlNode)
        {
            XmlNodeList productTypeNodeList = xmlNode.SelectNodes("productType");

            if (productTypeNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in productTypeNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        productTypeIDRef = item.Attributes["id"].Name;
                        XsdTypeToken ob = XsdTypeToken();
                        IDManager.SetID(productTypeIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        productTypeIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        productType = new XsdTypeToken(item);
                    }
                }
            }


            XmlNodeList instrumentIDNodeList = xmlNode.SelectNodes("instrumentID");

            if (instrumentIDNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in instrumentIDNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        instrumentIDIDRef = item.Attributes["id"].Name;
                        XsdTypeToken ob = XsdTypeToken();
                        IDManager.SetID(instrumentIDIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        instrumentIDIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        instrumentID = new XsdTypeToken(item);
                    }
                }
            }


            XmlNodeList notionalNodeList = xmlNode.SelectNodes("notional");

            if (notionalNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in notionalNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        notionalIDRef = item.Attributes["id"].Name;
                        XsdTypeDecimal ob = XsdTypeDecimal();
                        IDManager.SetID(notionalIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        notionalIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        notional = new XsdTypeDecimal(item);
                    }
                }
            }


            XmlNodeList issueDateNodeList = xmlNode.SelectNodes("issueDate");

            if (issueDateNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in issueDateNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        issueDateIDRef = item.Attributes["id"].Name;
                        EventDate ob = EventDate();
                        IDManager.SetID(issueDateIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        issueDateIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        issueDate = new EventDate(item);
                    }
                }
            }


            XmlNodeList maturityDateNodeList = xmlNode.SelectNodes("maturityDate");

            if (maturityDateNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in maturityDateNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        maturityDateIDRef = item.Attributes["id"].Name;
                        EventDate ob = EventDate();
                        IDManager.SetID(maturityDateIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        maturityDateIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        maturityDate = new EventDate(item);
                    }
                }
            }
        }
Exemplo n.º 11
0
        public IndexRef(XmlNode xmlNode)
        {
            XmlNodeList underlyingIndexRefNodeList = xmlNode.SelectNodes("underlyingIndexRef");

            if (underlyingIndexRefNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in underlyingIndexRefNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        underlyingIndexRefIDRef = item.Attributes["id"].Name;
                        UnderlyingIndex ob = UnderlyingIndex();
                        IDManager.SetID(underlyingIndexRefIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        underlyingIndexRefIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        underlyingIndexRef = new UnderlyingIndex(item);
                    }
                }
            }


            XmlNodeList eventDateRefNodeList = xmlNode.SelectNodes("eventDateRef");

            if (eventDateRefNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in eventDateRefNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        eventDateRefIDRef = item.Attributes["id"].Name;
                        EventDate ob = EventDate();
                        IDManager.SetID(eventDateRefIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        eventDateRefIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        eventDateRef = new EventDate(item);
                    }
                }
            }


            XmlNodeList fixingDaysNodeList = xmlNode.SelectNodes("fixingDays");

            if (fixingDaysNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in fixingDaysNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        fixingDaysIDRef = item.Attributes["id"].Name;
                        FixingDays ob = FixingDays();
                        IDManager.SetID(fixingDaysIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        fixingDaysIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        fixingDays = new FixingDays(item);
                    }
                }
            }
        }