public Excel_fxForward(XmlNode xmlNode) : base(xmlNode) { XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo"); if (excel_issueInfoNode != null) { if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null) { if (excel_issueInfoNode.Attributes["id"] != null) { excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value; Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode); IDManager.SetID(excel_issueInfoIDRef_, ob); } else if (excel_issueInfoNode.Attributes["href"] != null) { excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value; } else { excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode); } } else { excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode); } } XmlNode fx_exchangeLegNode = xmlNode.SelectSingleNode("fx_exchangeLeg"); if (fx_exchangeLegNode != null) { if (fx_exchangeLegNode.Attributes["href"] != null || fx_exchangeLegNode.Attributes["id"] != null) { if (fx_exchangeLegNode.Attributes["id"] != null) { fx_exchangeLegIDRef_ = fx_exchangeLegNode.Attributes["id"].Value; Fx_exchangeLeg ob = new Fx_exchangeLeg(fx_exchangeLegNode); IDManager.SetID(fx_exchangeLegIDRef_, ob); } else if (fx_exchangeLegNode.Attributes["href"] != null) { fx_exchangeLegIDRef_ = fx_exchangeLegNode.Attributes["href"].Value; } else { fx_exchangeLeg_ = new Fx_exchangeLeg(fx_exchangeLegNode); } } else { fx_exchangeLeg_ = new Fx_exchangeLeg(fx_exchangeLegNode); } } }