public Excel_referenceCal_ID(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 excel_referSimpleCalculationNode = xmlNode.SelectSingleNode("excel_referSimpleCalculation"); if (excel_referSimpleCalculationNode != null) { if (excel_referSimpleCalculationNode.Attributes["href"] != null || excel_referSimpleCalculationNode.Attributes["id"] != null) { if (excel_referSimpleCalculationNode.Attributes["id"] != null) { excel_referSimpleCalculationIDRef_ = excel_referSimpleCalculationNode.Attributes["id"].Value; Excel_referSimpleCalculation ob = new Excel_referSimpleCalculation(excel_referSimpleCalculationNode); IDManager.SetID(excel_referSimpleCalculationIDRef_, ob); } else if (excel_referSimpleCalculationNode.Attributes["href"] != null) { excel_referSimpleCalculationIDRef_ = excel_referSimpleCalculationNode.Attributes["href"].Value; } else { excel_referSimpleCalculation_ = new Excel_referSimpleCalculation(excel_referSimpleCalculationNode); } } else { excel_referSimpleCalculation_ = new Excel_referSimpleCalculation(excel_referSimpleCalculationNode); } } }