public BaseInformation(XmlNode xmlNode) { XmlNode baseIndexesNode = xmlNode.SelectSingleNode("baseIndexes"); if (baseIndexesNode != null) { if (baseIndexesNode.Attributes["href"] != null || baseIndexesNode.Attributes["id"] != null) { if (baseIndexesNode.Attributes["id"] != null) { baseIndexesIDRef_ = baseIndexesNode.Attributes["id"].Value; BaseIndexes ob = new BaseIndexes(baseIndexesNode); IDManager.SetID(baseIndexesIDRef_, ob); } else if (baseIndexesNode.Attributes["href"] != null) { baseIndexesIDRef_ = baseIndexesNode.Attributes["href"].Value; } else { baseIndexes_ = new BaseIndexes(baseIndexesNode); } } else { baseIndexes_ = new BaseIndexes(baseIndexesNode); } } XmlNode initialFixedValueNode = xmlNode.SelectSingleNode("initialFixedValue"); if (initialFixedValueNode != null) { if (initialFixedValueNode.Attributes["href"] != null || initialFixedValueNode.Attributes["id"] != null) { if (initialFixedValueNode.Attributes["id"] != null) { initialFixedValueIDRef_ = initialFixedValueNode.Attributes["id"].Value; InitialFixedValue ob = new InitialFixedValue(initialFixedValueNode); IDManager.SetID(initialFixedValueIDRef_, ob); } else if (initialFixedValueNode.Attributes["href"] != null) { initialFixedValueIDRef_ = initialFixedValueNode.Attributes["href"].Value; } else { initialFixedValue_ = new InitialFixedValue(initialFixedValueNode); } } else { initialFixedValue_ = new InitialFixedValue(initialFixedValueNode); } } XmlNode conventionSetNode = xmlNode.SelectSingleNode("conventionSet"); if (conventionSetNode != null) { if (conventionSetNode.Attributes["href"] != null || conventionSetNode.Attributes["id"] != null) { if (conventionSetNode.Attributes["id"] != null) { conventionSetIDRef_ = conventionSetNode.Attributes["id"].Value; ConventionSet ob = new ConventionSet(conventionSetNode); IDManager.SetID(conventionSetIDRef_, ob); } else if (conventionSetNode.Attributes["href"] != null) { conventionSetIDRef_ = conventionSetNode.Attributes["href"].Value; } else { conventionSet_ = new ConventionSet(conventionSetNode); } } else { conventionSet_ = new ConventionSet(conventionSetNode); } } }
public BaseInformation(XmlNode xmlNode) { XmlNode baseIndexesNode = xmlNode.SelectSingleNode("baseIndexes"); if (baseIndexesNode != null) { if (baseIndexesNode.Attributes["href"] != null || baseIndexesNode.Attributes["id"] != null) { if (baseIndexesNode.Attributes["id"] != null) { baseIndexesIDRef_ = baseIndexesNode.Attributes["id"].Value; BaseIndexes ob = new BaseIndexes(baseIndexesNode); IDManager.SetID(baseIndexesIDRef_, ob); } else if (baseIndexesNode.Attributes["href"] != null) { baseIndexesIDRef_ = baseIndexesNode.Attributes["href"].Value; } else { baseIndexes_ = new BaseIndexes(baseIndexesNode); } } else { baseIndexes_ = new BaseIndexes(baseIndexesNode); } } XmlNode initialFixedValueNode = xmlNode.SelectSingleNode("initialFixedValue"); if (initialFixedValueNode != null) { if (initialFixedValueNode.Attributes["href"] != null || initialFixedValueNode.Attributes["id"] != null) { if (initialFixedValueNode.Attributes["id"] != null) { initialFixedValueIDRef_ = initialFixedValueNode.Attributes["id"].Value; InitialFixedValue ob = new InitialFixedValue(initialFixedValueNode); IDManager.SetID(initialFixedValueIDRef_, ob); } else if (initialFixedValueNode.Attributes["href"] != null) { initialFixedValueIDRef_ = initialFixedValueNode.Attributes["href"].Value; } else { initialFixedValue_ = new InitialFixedValue(initialFixedValueNode); } } else { initialFixedValue_ = new InitialFixedValue(initialFixedValueNode); } } XmlNode conventionSetNode = xmlNode.SelectSingleNode("conventionSet"); if (conventionSetNode != null) { if (conventionSetNode.Attributes["href"] != null || conventionSetNode.Attributes["id"] != null) { if (conventionSetNode.Attributes["id"] != null) { conventionSetIDRef_ = conventionSetNode.Attributes["id"].Value; ConventionSet ob = new ConventionSet(conventionSetNode); IDManager.SetID(conventionSetIDRef_, ob); } else if (conventionSetNode.Attributes["href"] != null) { conventionSetIDRef_ = conventionSetNode.Attributes["href"].Value; } else { conventionSet_ = new ConventionSet(conventionSetNode); } } else { conventionSet_ = new ConventionSet(conventionSetNode); } } }