public Excel_referenceInfo_para(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 krCodeNode = xmlNode.SelectSingleNode("krCode");
     
     if (krCodeNode != null)
     {
         if (krCodeNode.Attributes["href"] != null || krCodeNode.Attributes["id"] != null) 
         {
             if (krCodeNode.Attributes["id"] != null) 
             {
                 krCodeIDRef_ = krCodeNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(krCodeNode);
                 IDManager.SetID(krCodeIDRef_, ob);
             }
             else if (krCodeNode.Attributes["href"] != null)
             {
                 krCodeIDRef_ = krCodeNode.Attributes["href"].Value;
             }
             else
             {
                 krCode_ = new XsdTypeToken(krCodeNode);
             }
         }
         else
         {
             krCode_ = new XsdTypeToken(krCodeNode);
         }
     }
     
 
     XmlNode referenceNameNode = xmlNode.SelectSingleNode("referenceName");
     
     if (referenceNameNode != null)
     {
         if (referenceNameNode.Attributes["href"] != null || referenceNameNode.Attributes["id"] != null) 
         {
             if (referenceNameNode.Attributes["id"] != null) 
             {
                 referenceNameIDRef_ = referenceNameNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(referenceNameNode);
                 IDManager.SetID(referenceNameIDRef_, ob);
             }
             else if (referenceNameNode.Attributes["href"] != null)
             {
                 referenceNameIDRef_ = referenceNameNode.Attributes["href"].Value;
             }
             else
             {
                 referenceName_ = new XsdTypeToken(referenceNameNode);
             }
         }
         else
         {
             referenceName_ = new XsdTypeToken(referenceNameNode);
         }
     }
     
 
     XmlNode modelNode = xmlNode.SelectSingleNode("model");
     
     if (modelNode != null)
     {
         if (modelNode.Attributes["href"] != null || modelNode.Attributes["id"] != null) 
         {
             if (modelNode.Attributes["id"] != null) 
             {
                 modelIDRef_ = modelNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(modelNode);
                 IDManager.SetID(modelIDRef_, ob);
             }
             else if (modelNode.Attributes["href"] != null)
             {
                 modelIDRef_ = modelNode.Attributes["href"].Value;
             }
             else
             {
                 model_ = new XsdTypeToken(modelNode);
             }
         }
         else
         {
             model_ = new XsdTypeToken(modelNode);
         }
     }
     
 
     XmlNode excel_defaultCurveNode = xmlNode.SelectSingleNode("excel_defaultCurve");
     
     if (excel_defaultCurveNode != null)
     {
         if (excel_defaultCurveNode.Attributes["href"] != null || excel_defaultCurveNode.Attributes["id"] != null) 
         {
             if (excel_defaultCurveNode.Attributes["id"] != null) 
             {
                 excel_defaultCurveIDRef_ = excel_defaultCurveNode.Attributes["id"].Value;
                 Excel_defaultCurve ob = new Excel_defaultCurve(excel_defaultCurveNode);
                 IDManager.SetID(excel_defaultCurveIDRef_, ob);
             }
             else if (excel_defaultCurveNode.Attributes["href"] != null)
             {
                 excel_defaultCurveIDRef_ = excel_defaultCurveNode.Attributes["href"].Value;
             }
             else
             {
                 excel_defaultCurve_ = new Excel_defaultCurve(excel_defaultCurveNode);
             }
         }
         else
         {
             excel_defaultCurve_ = new Excel_defaultCurve(excel_defaultCurveNode);
         }
     }
     
 
     XmlNode descriptionNode = xmlNode.SelectSingleNode("description");
     
     if (descriptionNode != null)
     {
         if (descriptionNode.Attributes["href"] != null || descriptionNode.Attributes["id"] != null) 
         {
             if (descriptionNode.Attributes["id"] != null) 
             {
                 descriptionIDRef_ = descriptionNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(descriptionNode);
                 IDManager.SetID(descriptionIDRef_, ob);
             }
             else if (descriptionNode.Attributes["href"] != null)
             {
                 descriptionIDRef_ = descriptionNode.Attributes["href"].Value;
             }
             else
             {
                 description_ = new XsdTypeToken(descriptionNode);
             }
         }
         else
         {
             description_ = new XsdTypeToken(descriptionNode);
         }
     }
     
 
 }
        public Excel_referenceInfo_para(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 krCodeNode = xmlNode.SelectSingleNode("krCode");

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


            XmlNode referenceNameNode = xmlNode.SelectSingleNode("referenceName");

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


            XmlNode modelNode = xmlNode.SelectSingleNode("model");

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


            XmlNode excel_defaultCurveNode = xmlNode.SelectSingleNode("excel_defaultCurve");

            if (excel_defaultCurveNode != null)
            {
                if (excel_defaultCurveNode.Attributes["href"] != null || excel_defaultCurveNode.Attributes["id"] != null)
                {
                    if (excel_defaultCurveNode.Attributes["id"] != null)
                    {
                        excel_defaultCurveIDRef_ = excel_defaultCurveNode.Attributes["id"].Value;
                        Excel_defaultCurve ob = new Excel_defaultCurve(excel_defaultCurveNode);
                        IDManager.SetID(excel_defaultCurveIDRef_, ob);
                    }
                    else if (excel_defaultCurveNode.Attributes["href"] != null)
                    {
                        excel_defaultCurveIDRef_ = excel_defaultCurveNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_defaultCurve_ = new Excel_defaultCurve(excel_defaultCurveNode);
                    }
                }
                else
                {
                    excel_defaultCurve_ = new Excel_defaultCurve(excel_defaultCurveNode);
                }
            }


            XmlNode descriptionNode = xmlNode.SelectSingleNode("description");

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