public Excel_referenceInformation(XmlNode xmlNode) : base(xmlNode) { XmlNode entityNameNode = xmlNode.SelectSingleNode("entityName"); if (entityNameNode != null) { if (entityNameNode.Attributes["href"] != null || entityNameNode.Attributes["id"] != null) { if (entityNameNode.Attributes["id"] != null) { entityNameIDRef_ = entityNameNode.Attributes["id"].Value; XsdTypeToken ob = new XsdTypeToken(entityNameNode); IDManager.SetID(entityNameIDRef_, ob); } else if (entityNameNode.Attributes["href"] != null) { entityNameIDRef_ = entityNameNode.Attributes["href"].Value; } else { entityName_ = new XsdTypeToken(entityNameNode); } } else { entityName_ = new XsdTypeToken(entityNameNode); } } XmlNode entityIdNode = xmlNode.SelectSingleNode("entityId"); if (entityIdNode != null) { if (entityIdNode.Attributes["href"] != null || entityIdNode.Attributes["id"] != null) { if (entityIdNode.Attributes["id"] != null) { entityIdIDRef_ = entityIdNode.Attributes["id"].Value; XsdTypeToken ob = new XsdTypeToken(entityIdNode); IDManager.SetID(entityIdIDRef_, ob); } else if (entityIdNode.Attributes["href"] != null) { entityIdIDRef_ = entityIdNode.Attributes["href"].Value; } else { entityId_ = new XsdTypeToken(entityIdNode); } } else { entityId_ = new XsdTypeToken(entityIdNode); } } XmlNode excel_referenceObligationNode = xmlNode.SelectSingleNode("excel_referenceObligation"); if (excel_referenceObligationNode != null) { if (excel_referenceObligationNode.Attributes["href"] != null || excel_referenceObligationNode.Attributes["id"] != null) { if (excel_referenceObligationNode.Attributes["id"] != null) { excel_referenceObligationIDRef_ = excel_referenceObligationNode.Attributes["id"].Value; Excel_referenceObligation ob = new Excel_referenceObligation(excel_referenceObligationNode); IDManager.SetID(excel_referenceObligationIDRef_, ob); } else if (excel_referenceObligationNode.Attributes["href"] != null) { excel_referenceObligationIDRef_ = excel_referenceObligationNode.Attributes["href"].Value; } else { excel_referenceObligation_ = new Excel_referenceObligation(excel_referenceObligationNode); } } else { excel_referenceObligation_ = new Excel_referenceObligation(excel_referenceObligationNode); } } }