public ReportsFinStatements(XmlDocument finStatements)
 {
     this.FinStatements       = finStatements;
     this.financialStatements = (XmlElement)FinStatements.GetElementsByTagName("FinancialStatements")[0];
     populateMapItems();
     this.BalanceSheet    = populateCompanyInformation("BAL");
     this.IncomeStatement = populateCompanyInformation("INC");
     this.CashFlow        = populateCompanyInformation("CAS");
 }
 public ReportsObject(DataRow fundamentals)
 {
     this.Fundamentals  = fundamentals;
     this.FinStatements = new XmlDocument();
     FinStatements.LoadXml(Fundamentals["ReportsFinStatements"].ToString());
     this.FinSummary = new XmlDocument();
     FinSummary.LoadXml(Fundamentals["ReportsFinSummary"].ToString());
     this.Ownership = new XmlDocument();
     try
     {
         Ownership.LoadXml(Fundamentals["ReportsOwnership"].ToString());
     }
     catch
     {
     }
     this.Snapshot = new XmlDocument();
     try
     {
         Snapshot.LoadXml(Fundamentals["ReportSnapshot"].ToString());
     }
     catch
     {
     }
     this.Resc = new XmlDocument();
     try
     {
         Resc.LoadXml(Fundamentals["RESC"].ToString());
     }
     catch
     {
     }
     this.Calendar = new XmlDocument();
     try
     {
         Calendar.LoadXml(Fundamentals["CalendarReport"].ToString());
     }
     catch
     {
     }
     this.finStatement = new ReportsFinStatements(FinStatements);
 }