public VariableCalList(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode variableCalculationNode = xmlNode.SelectSingleNode("variableCalculation");
     
     if (variableCalculationNode != null)
     {
         if (variableCalculationNode.Attributes["href"] != null || variableCalculationNode.Attributes["id"] != null) 
         {
             if (variableCalculationNode.Attributes["id"] != null) 
             {
                 variableCalculationIDRef_ = variableCalculationNode.Attributes["id"].Value;
                 VariableCalculation ob = new VariableCalculation(variableCalculationNode);
                 IDManager.SetID(variableCalculationIDRef_, ob);
             }
             else if (variableCalculationNode.Attributes["href"] != null)
             {
                 variableCalculationIDRef_ = variableCalculationNode.Attributes["href"].Value;
             }
             else
             {
                 variableCalculation_ = new VariableCalculation(variableCalculationNode);
             }
         }
         else
         {
             variableCalculation_ = new VariableCalculation(variableCalculationNode);
         }
     }
     
 
 }
        public VariableCalList(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode variableCalculationNode = xmlNode.SelectSingleNode("variableCalculation");

            if (variableCalculationNode != null)
            {
                if (variableCalculationNode.Attributes["href"] != null || variableCalculationNode.Attributes["id"] != null)
                {
                    if (variableCalculationNode.Attributes["id"] != null)
                    {
                        variableCalculationIDRef_ = variableCalculationNode.Attributes["id"].Value;
                        VariableCalculation ob = new VariableCalculation(variableCalculationNode);
                        IDManager.SetID(variableCalculationIDRef_, ob);
                    }
                    else if (variableCalculationNode.Attributes["href"] != null)
                    {
                        variableCalculationIDRef_ = variableCalculationNode.Attributes["href"].Value;
                    }
                    else
                    {
                        variableCalculation_ = new VariableCalculation(variableCalculationNode);
                    }
                }
                else
                {
                    variableCalculation_ = new VariableCalculation(variableCalculationNode);
                }
            }
        }