public PricingDataPointCoordinate(XmlNode xmlNode)
 {
     XmlNode termNode = xmlNode.SelectSingleNode("term");
     
     if (termNode != null)
     {
         if (termNode.Attributes["href"] != null || termNode.Attributes["id"] != null) 
         {
             if (termNode.Attributes["id"] != null) 
             {
                 termIDRef_ = termNode.Attributes["id"].Value;
                 TimeDimension ob = new TimeDimension(termNode);
                 IDManager.SetID(termIDRef_, ob);
             }
             else if (termNode.Attributes["href"] != null)
             {
                 termIDRef_ = termNode.Attributes["href"].Value;
             }
             else
             {
                 term_ = new TimeDimension(termNode);
             }
         }
         else
         {
             term_ = new TimeDimension(termNode);
         }
     }
     
 
     XmlNode expirationNode = xmlNode.SelectSingleNode("expiration");
     
     if (expirationNode != null)
     {
         if (expirationNode.Attributes["href"] != null || expirationNode.Attributes["id"] != null) 
         {
             if (expirationNode.Attributes["id"] != null) 
             {
                 expirationIDRef_ = expirationNode.Attributes["id"].Value;
                 TimeDimension ob = new TimeDimension(expirationNode);
                 IDManager.SetID(expirationIDRef_, ob);
             }
             else if (expirationNode.Attributes["href"] != null)
             {
                 expirationIDRef_ = expirationNode.Attributes["href"].Value;
             }
             else
             {
                 expiration_ = new TimeDimension(expirationNode);
             }
         }
         else
         {
             expiration_ = new TimeDimension(expirationNode);
         }
     }
     
 
     XmlNode strikeNode = xmlNode.SelectSingleNode("strike");
     
     if (strikeNode != null)
     {
         if (strikeNode.Attributes["href"] != null || strikeNode.Attributes["id"] != null) 
         {
             if (strikeNode.Attributes["id"] != null) 
             {
                 strikeIDRef_ = strikeNode.Attributes["id"].Value;
                 XsdTypeDecimal ob = new XsdTypeDecimal(strikeNode);
                 IDManager.SetID(strikeIDRef_, ob);
             }
             else if (strikeNode.Attributes["href"] != null)
             {
                 strikeIDRef_ = strikeNode.Attributes["href"].Value;
             }
             else
             {
                 strike_ = new XsdTypeDecimal(strikeNode);
             }
         }
         else
         {
             strike_ = new XsdTypeDecimal(strikeNode);
         }
     }
     
 
     XmlNode genericNode = xmlNode.SelectSingleNode("generic");
     
     if (genericNode != null)
     {
         if (genericNode.Attributes["href"] != null || genericNode.Attributes["id"] != null) 
         {
             if (genericNode.Attributes["id"] != null) 
             {
                 genericIDRef_ = genericNode.Attributes["id"].Value;
                 GenericDimension ob = new GenericDimension(genericNode);
                 IDManager.SetID(genericIDRef_, ob);
             }
             else if (genericNode.Attributes["href"] != null)
             {
                 genericIDRef_ = genericNode.Attributes["href"].Value;
             }
             else
             {
                 generic_ = new GenericDimension(genericNode);
             }
         }
         else
         {
             generic_ = new GenericDimension(genericNode);
         }
     }
     
 
 }
 public PricingDataPointCoordinate(XmlNode xmlNode)
 {
     XmlNodeList termNodeList = xmlNode.SelectNodes("term");
     if (termNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in termNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 termIDRef = item.Attributes["id"].Name;
                 TimeDimension ob = TimeDimension();
                 IDManager.SetID(termIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 termIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 term = new TimeDimension(item);
             }
         }
     }
     
 
     XmlNodeList expirationNodeList = xmlNode.SelectNodes("expiration");
     if (expirationNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in expirationNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 expirationIDRef = item.Attributes["id"].Name;
                 TimeDimension ob = TimeDimension();
                 IDManager.SetID(expirationIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 expirationIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 expiration = new TimeDimension(item);
             }
         }
     }
     
 
     XmlNodeList strikeNodeList = xmlNode.SelectNodes("strike");
     if (strikeNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in strikeNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 strikeIDRef = item.Attributes["id"].Name;
                 XsdTypeDecimal ob = XsdTypeDecimal();
                 IDManager.SetID(strikeIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 strikeIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 strike = new XsdTypeDecimal(item);
             }
         }
     }
     
 
     XmlNodeList genericNodeList = xmlNode.SelectNodes("generic");
     if (genericNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in genericNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 genericIDRef = item.Attributes["id"].Name;
                 GenericDimension ob = GenericDimension();
                 IDManager.SetID(genericIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 genericIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 generic = new GenericDimension(item);
             }
         }
     }
     
 
 }
        public PricingDataPointCoordinate(XmlNode xmlNode)
        {
            XmlNodeList termNodeList = xmlNode.SelectNodes("term");

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

            foreach (XmlNode item in termNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        termIDRef = item.Attributes["id"].Name;
                        TimeDimension ob = TimeDimension();
                        IDManager.SetID(termIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        termIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        term = new TimeDimension(item);
                    }
                }
            }


            XmlNodeList expirationNodeList = xmlNode.SelectNodes("expiration");

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

            foreach (XmlNode item in expirationNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        expirationIDRef = item.Attributes["id"].Name;
                        TimeDimension ob = TimeDimension();
                        IDManager.SetID(expirationIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        expirationIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        expiration = new TimeDimension(item);
                    }
                }
            }


            XmlNodeList strikeNodeList = xmlNode.SelectNodes("strike");

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

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


            XmlNodeList genericNodeList = xmlNode.SelectNodes("generic");

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

            foreach (XmlNode item in genericNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        genericIDRef = item.Attributes["id"].Name;
                        GenericDimension ob = GenericDimension();
                        IDManager.SetID(genericIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        genericIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        generic = new GenericDimension(item);
                    }
                }
            }
        }
        public PricingDataPointCoordinate(XmlNode xmlNode)
        {
            XmlNode termNode = xmlNode.SelectSingleNode("term");

            if (termNode != null)
            {
                if (termNode.Attributes["href"] != null || termNode.Attributes["id"] != null)
                {
                    if (termNode.Attributes["id"] != null)
                    {
                        termIDRef_ = termNode.Attributes["id"].Value;
                        TimeDimension ob = new TimeDimension(termNode);
                        IDManager.SetID(termIDRef_, ob);
                    }
                    else if (termNode.Attributes["href"] != null)
                    {
                        termIDRef_ = termNode.Attributes["href"].Value;
                    }
                    else
                    {
                        term_ = new TimeDimension(termNode);
                    }
                }
                else
                {
                    term_ = new TimeDimension(termNode);
                }
            }


            XmlNode expirationNode = xmlNode.SelectSingleNode("expiration");

            if (expirationNode != null)
            {
                if (expirationNode.Attributes["href"] != null || expirationNode.Attributes["id"] != null)
                {
                    if (expirationNode.Attributes["id"] != null)
                    {
                        expirationIDRef_ = expirationNode.Attributes["id"].Value;
                        TimeDimension ob = new TimeDimension(expirationNode);
                        IDManager.SetID(expirationIDRef_, ob);
                    }
                    else if (expirationNode.Attributes["href"] != null)
                    {
                        expirationIDRef_ = expirationNode.Attributes["href"].Value;
                    }
                    else
                    {
                        expiration_ = new TimeDimension(expirationNode);
                    }
                }
                else
                {
                    expiration_ = new TimeDimension(expirationNode);
                }
            }


            XmlNode strikeNode = xmlNode.SelectSingleNode("strike");

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


            XmlNode genericNode = xmlNode.SelectSingleNode("generic");

            if (genericNode != null)
            {
                if (genericNode.Attributes["href"] != null || genericNode.Attributes["id"] != null)
                {
                    if (genericNode.Attributes["id"] != null)
                    {
                        genericIDRef_ = genericNode.Attributes["id"].Value;
                        GenericDimension ob = new GenericDimension(genericNode);
                        IDManager.SetID(genericIDRef_, ob);
                    }
                    else if (genericNode.Attributes["href"] != null)
                    {
                        genericIDRef_ = genericNode.Attributes["href"].Value;
                    }
                    else
                    {
                        generic_ = new GenericDimension(genericNode);
                    }
                }
                else
                {
                    generic_ = new GenericDimension(genericNode);
                }
            }
        }