public OperatorND(XmlNode xmlNode) : base(xmlNode) { XmlNode typeNode = xmlNode.SelectSingleNode("type"); if (typeNode != null) { if (typeNode.Attributes["href"] != null || typeNode.Attributes["id"] != null) { if (typeNode.Attributes["id"] != null) { typeIDRef_ = typeNode.Attributes["id"].Value; XsdTypeToken ob = new XsdTypeToken(typeNode); IDManager.SetID(typeIDRef_, ob); } else if (typeNode.Attributes["href"] != null) { typeIDRef_ = typeNode.Attributes["href"].Value; } else { type_ = new XsdTypeToken(typeNode); } } else { type_ = new XsdTypeToken(typeNode); } } XmlNode additionOperNDNode = xmlNode.SelectSingleNode("additionOperND"); if (additionOperNDNode != null) { if (additionOperNDNode.Attributes["href"] != null || additionOperNDNode.Attributes["id"] != null) { if (additionOperNDNode.Attributes["id"] != null) { additionOperNDIDRef_ = additionOperNDNode.Attributes["id"].Value; AdditionOperND ob = new AdditionOperND(additionOperNDNode); IDManager.SetID(additionOperNDIDRef_, ob); } else if (additionOperNDNode.Attributes["href"] != null) { additionOperNDIDRef_ = additionOperNDNode.Attributes["href"].Value; } else { additionOperND_ = new AdditionOperND(additionOperNDNode); } } else { additionOperND_ = new AdditionOperND(additionOperNDNode); } } XmlNode multipleOperNDNode = xmlNode.SelectSingleNode("multipleOperND"); if (multipleOperNDNode != null) { if (multipleOperNDNode.Attributes["href"] != null || multipleOperNDNode.Attributes["id"] != null) { if (multipleOperNDNode.Attributes["id"] != null) { multipleOperNDIDRef_ = multipleOperNDNode.Attributes["id"].Value; MultipleOperND ob = new MultipleOperND(multipleOperNDNode); IDManager.SetID(multipleOperNDIDRef_, ob); } else if (multipleOperNDNode.Attributes["href"] != null) { multipleOperNDIDRef_ = multipleOperNDNode.Attributes["href"].Value; } else { multipleOperND_ = new MultipleOperND(multipleOperNDNode); } } else { multipleOperND_ = new MultipleOperND(multipleOperNDNode); } } XmlNode divisionOperNDNode = xmlNode.SelectSingleNode("divisionOperND"); if (divisionOperNDNode != null) { if (divisionOperNDNode.Attributes["href"] != null || divisionOperNDNode.Attributes["id"] != null) { if (divisionOperNDNode.Attributes["id"] != null) { divisionOperNDIDRef_ = divisionOperNDNode.Attributes["id"].Value; DivisionOperND ob = new DivisionOperND(divisionOperNDNode); IDManager.SetID(divisionOperNDIDRef_, ob); } else if (divisionOperNDNode.Attributes["href"] != null) { divisionOperNDIDRef_ = divisionOperNDNode.Attributes["href"].Value; } else { divisionOperND_ = new DivisionOperND(divisionOperNDNode); } } else { divisionOperND_ = new DivisionOperND(divisionOperNDNode); } } XmlNode maximumOperNDNode = xmlNode.SelectSingleNode("maximumOperND"); if (maximumOperNDNode != null) { if (maximumOperNDNode.Attributes["href"] != null || maximumOperNDNode.Attributes["id"] != null) { if (maximumOperNDNode.Attributes["id"] != null) { maximumOperNDIDRef_ = maximumOperNDNode.Attributes["id"].Value; MaximumOperND ob = new MaximumOperND(maximumOperNDNode); IDManager.SetID(maximumOperNDIDRef_, ob); } else if (maximumOperNDNode.Attributes["href"] != null) { maximumOperNDIDRef_ = maximumOperNDNode.Attributes["href"].Value; } else { maximumOperND_ = new MaximumOperND(maximumOperNDNode); } } else { maximumOperND_ = new MaximumOperND(maximumOperNDNode); } } }