public IssueInformation(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 swapInfoNode = xmlNode.SelectSingleNode("swapInfo"); if (swapInfoNode != null) { if (swapInfoNode.Attributes["href"] != null || swapInfoNode.Attributes["id"] != null) { if (swapInfoNode.Attributes["id"] != null) { swapInfoIDRef_ = swapInfoNode.Attributes["id"].Value; SwapInfo ob = new SwapInfo(swapInfoNode); IDManager.SetID(swapInfoIDRef_, ob); } else if (swapInfoNode.Attributes["href"] != null) { swapInfoIDRef_ = swapInfoNode.Attributes["href"].Value; } else { swapInfo_ = new SwapInfo(swapInfoNode); } } else { swapInfo_ = new SwapInfo(swapInfoNode); } } XmlNode noteInfoNode = xmlNode.SelectSingleNode("noteInfo"); if (noteInfoNode != null) { if (noteInfoNode.Attributes["href"] != null || noteInfoNode.Attributes["id"] != null) { if (noteInfoNode.Attributes["id"] != null) { noteInfoIDRef_ = noteInfoNode.Attributes["id"].Value; NoteInfo ob = new NoteInfo(noteInfoNode); IDManager.SetID(noteInfoIDRef_, ob); } else if (noteInfoNode.Attributes["href"] != null) { noteInfoIDRef_ = noteInfoNode.Attributes["href"].Value; } else { noteInfo_ = new NoteInfo(noteInfoNode); } } else { noteInfo_ = new NoteInfo(noteInfoNode); } } XmlNode optionInfoNode = xmlNode.SelectSingleNode("optionInfo"); if (optionInfoNode != null) { if (optionInfoNode.Attributes["href"] != null || optionInfoNode.Attributes["id"] != null) { if (optionInfoNode.Attributes["id"] != null) { optionInfoIDRef_ = optionInfoNode.Attributes["id"].Value; OptionInfo ob = new OptionInfo(optionInfoNode); IDManager.SetID(optionInfoIDRef_, ob); } else if (optionInfoNode.Attributes["href"] != null) { optionInfoIDRef_ = optionInfoNode.Attributes["href"].Value; } else { optionInfo_ = new OptionInfo(optionInfoNode); } } else { optionInfo_ = new OptionInfo(optionInfoNode); } } XmlNode securitiesInfoNode = xmlNode.SelectSingleNode("securitiesInfo"); if (securitiesInfoNode != null) { if (securitiesInfoNode.Attributes["href"] != null || securitiesInfoNode.Attributes["id"] != null) { if (securitiesInfoNode.Attributes["id"] != null) { securitiesInfoIDRef_ = securitiesInfoNode.Attributes["id"].Value; SecuritiesInfo ob = new SecuritiesInfo(securitiesInfoNode); IDManager.SetID(securitiesInfoIDRef_, ob); } else if (securitiesInfoNode.Attributes["href"] != null) { securitiesInfoIDRef_ = securitiesInfoNode.Attributes["href"].Value; } else { securitiesInfo_ = new SecuritiesInfo(securitiesInfoNode); } } else { securitiesInfo_ = new SecuritiesInfo(securitiesInfoNode); } } }